home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / wpmerge.arc / MANUAL.DAT / WPMMAN.TXT
Text File  |  1990-10-15  |  125KB  |  2,486 lines

  1.  
  2. Using WPMerger
  3. WPMerger by Gemini Software
  4. Version 1.5  October, 1990
  5.  
  6. SEE CHAPTER 1 BELOW FOR INSTALLATION INSTRUCTIONS!
  7.  
  8. Contents:
  9. Welcome to WPMerger
  10. Chapter 1:  Before You Begin
  11. Chapter 2:  Creating a Databasei
  12. Chapter 3:  Editing a Database
  13. Chapter 4:  Organizing a Database
  14. Chapter 5:  Creating a Word Processing Merge Document
  15. Chapter 6:  Selecting Records and Merging
  16. Chapter 7:  Importing and Exporting
  17. Chapter 8:  Advanced Topics
  18.  
  19. Command Reference:
  20. WPM Menu
  21. File Menu
  22. Edit Menu
  23. View Menu
  24. Select Menu
  25. Utilities Menu
  26.  
  27. Appendix A  Hardware Requirments
  28. Appendix B  Function Keys and Keyboard Commands
  29. Appendix C  Usering WPMerger with Other Programs
  30. Appendix D  Capacities
  31. Appendix E  Error Messages
  32.  
  33.  
  34. Limits of Liability:
  35. Information is this manual is subject to change without notice and does not represent a commitment on the part of Gemini Software.
  36.  
  37. Every effort has been made to supply complete and accurate information.  However, Gemini Software assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties which would result.
  38.  
  39. Trademarks:
  40. IBM is a registered trademark of International Business Machines Corporation.
  41. Word and DOS are registered trademarks of Microsoft Corporation.
  42. WordPerfect is a registered trademark of WordPerfect Corporation.
  43. WordStar is a registered trademark of MicroPro International Corporation.
  44. Sprint and Paradox are a registered trademarks of Borland International, Incorporated.
  45. dBASE and RapidFile areis a registered trademark of Ashton-Tate, Incorporated.
  46. PFS Professional Write and PFS First Choice are registered trademarks of Software Publishing Corporation.
  47.  
  48. WPMerger is a registered trademark of Gemini Software.
  49.  
  50. Copyright 1988,89,90 Gemini Software, 4130 117th Avenua, Suite 324, Beaverton, Oregon,  97005.
  51.  
  52.  
  53.  
  54.  
  55. Preface:  Welcome to WPMerger
  56.  
  57. This preface discusses philosophy and applications, terminology, and the program manual and how to use it.
  58.  
  59. Philosophy and Applications:
  60.  
  61. WPMerger (Word Processor Merger), when used with any popular word processor, is a data management and reporting system.  By combining WPMerger data management capabilities with the text formatting and reporting capabilities of your word processor, you can manipulate data to create professional looking management reports, form letters, and mass mailings.  WPMerger is an intuitive, easy to learn an use program that allows anyone to create a data management and reporting system quickly and easily.
  62.  
  63. There are two aspects to any data management system:  data management and reporting.  WPMerger performs the data management aspect and your word processor handles the reporting.  Your word processor uses a process called merging (handled through the built-in data merge facility) to generate reports.  
  64.  
  65. Generally, word processors are designed to manipulate text, not data.  Consequently, the process of data input, sorting, viewing, and selection, i.e. data management, with a word processor alone is very difficult.  Therefore, WPMerger, which supports most popular word processor programs, is used to manage data while your word processor is used to print it.
  66.  
  67.  
  68. The Merging Process:
  69.  
  70. Before the process of merging can be discussed, the components of a merge must be defined.  A merge data file is a file of data records created by WPMerger, by choosing the database records that you would like to merge with your word processor merge document.  A merge document is a word processor document created in your word processor that contains merge commands within the text that correspond to field names present in your database.
  71.  
  72. The process of merging is the joining of two different components.  In our situation, it is the combining of the WPMerger merge data file with the word processor merge document.  Your word processor program combines the two files to produce a report, consisting of multiple versions of the merge document.  Each version of the merge document is constructed from a different record in the merge data file.  Therefore, the final report will contain, for each record in the merge data file,  a version of the original merge document.  And each version in the final report contains unique information that relates to its corresponding record in the merge data file.
  73.  
  74. An example:  A merge data file consists of 3 records that you have chosen from a database.  All of these records are merged with a single word processor merge document.  Once the merging process is complete, a total of 3 versions of the original merge document are produced.  Each version would contain unique information that corresponds to one of the records in the database.
  75.  
  76.  
  77. Applications:
  78.  
  79. WPMerger has many different applications.  Use WPMerger for your mass mailings, client correspondence, billing, business documents, and legal documents as well as for your mailing labels and envelopes..The program can efficiently handle your big jobs containing thousands of records, as well as your small ones.
  80.  
  81. The data entry system in WPMerger is easy to use that you can use WPMerger to create your databases, either from scratch or by directly importing the fields from an existing word processor merge document.
  82.  
  83. Although WPMerger is a stand-alone database program it also can be used as a front- or rear-end processor.  As a front-end processor data may be entered via WPMerger and exported to another data format.  If you need a convenient way to print information from another data format, data can be imported into WPMerger and be printed with your word processor.
  84.  
  85.  
  86. WPMerger Versatility:
  87.  
  88. WPMerger  databases can be created in a variety of ways.  The program allows you to utilize the work that you have already done by importing files.  It also allows you to easily create them with WPMerger.
  89.  
  90. WPMerger databases can be created from scratch, by extracting field names from an existing word processing merge document, by importing existing merge data files, or by importing from popular database programs
  91.  
  92.  
  93. Capabilities
  94. The program is uniquely designed to easily work with large quantities of information.  Each database can consist of up to eight screens with the capability of storing over 2 billion records.  Each record can contain up to 256 fields and be as large as 4096 bytes.  WPMerger offers in addition to the common field types found in many programs, many unique field types such as telephone, date, state, and Yes/No.  You can quickly merge thousands of records with your merge documents with relative ease.  Whether your database records consist of only a few data fields or hundreds.
  95.  
  96.  
  97. About the Manual:
  98.  
  99. This manual is divided into eight chapters, each covering basic procedures and examples of the topics discussed in the chapter.  A Command Reference section that explains how to use the menu commands is located after the chapters, and is followed by a glossary listing common terms.
  100.  
  101.  
  102. How to Use the Manual:
  103.  
  104. Read this manual when you are first getting to know WPMerger.  The manual will help give you an understanding of how you can fully utilize the program as well as gain creative insight to your applications. 
  105.  
  106. Although the program is very intuitive and has an extensive online context-sensitive help facility, you may need to refer to this manual for detailed explanations.  The help facility provides reference pages for each help item, giving fast and easy access to information in the manual.   
  107.  
  108. All users should familiarize themselves with the preface Welcome to WPMerger and Chapter 1 in order to install WPMerger and begin using the program.
  109.  
  110. If you are unfamiliar with creating a database and editing a database, entering data into a database template, making a merge data file and merging its data into one of your word processor documents, import or export a database, using the menu systems and menu commands, read Chapters 2 and 3 and use one of the sample databases as you follow the chapters.
  111.  
  112.  
  113. WPMerger Screen:
  114.  
  115. Each template page is surrounded by a double-lined border.  The name of the currently used user configuration and loaded database is displayed in the lower right border.  The current sort field is displayed in the lower left border.
  116.  
  117. WPMerger offers both a conventional-type menu system and a pulldown menu system.  The menu systems are selectable by selecting the Program Options command in the OPTIONS menu.  If you use the conventional type system, the row of available menu commands are displayed below the lower screen border.  If you use the pulldown menu system the menus are displayed on the top screen line and their respective menu commands are pulled down when a menu is selected.
  118.  
  119. A listing of the function keys can be optionally displayed on the line just below the border.  The Function Key Bar can be turned on and off by using the Program Options command in the OPTIONS menu.  The size of the template screen is reduced by one line to accommodate the displayed Function Key Bar.
  120.  
  121. The time and date can be optionally displayed, flush right, at the top screen line.   The time and date can be turned on and off by using the Program Options command in the OPTIONS menu.
  122.  
  123. When modifying the template, the name of the field at the cursor position is displayed in the lower left border.  The page number (or screen) number, line, and column of the current cursor position are displayed in the lower left corner of the screen.  The template modification function keys are displayed below the border, whether the function key bar display is turned on or off.
  124.  
  125. The status line is located below the lower screen border and is reserved for the various codes that are described below:
  126.  
  127.     rcds    Number of records in the loaded database
  128.     NUM    Num lock on
  129.     CAPS    Caps lock on
  130.     INS    Insert mode on
  131.     pg    Page (or screen) number
  132.     ln    Line number at cursor position
  133.     co    Column number at cursor position
  134.  
  135.  
  136.  
  137.  
  138. Chapter 1
  139.  
  140. Before You Begin.
  141.  
  142. This chapter explains how to:
  143. install the program
  144. start the program
  145.     -select program video
  146.     -set an initial configuration
  147. use a sample template/database
  148. access the online help facility
  149. access the online info facility
  150. save information
  151.  
  152.  
  153. Installing WPMerger
  154.  
  155. WPMerger can be installed either to a hard drive or a formatted 360K floppy diskette (or larger).  The instructions for both types of installation are the same.  Once installed, store your original program diskettes in a safe place.
  156.  
  157. The program requires about 350K of disk space and runs on a system with at least 384K RAM.  The install program will abort if your destination drive does not have enough disk space to store WPMerger.
  158.  
  159. Installation Procedure:
  160. Start your computer with DOS.
  161. Insert your program diskette drive A.
  162. Log to the drive letter where WPMerger will be installed.  For example, if installing to a hard drive enter ->  C:, press [ENTER].
  163. Enter A:INSTALL, press [ENTER].
  164.  
  165. Additional installation instructions can be found in file README in the \WPM     directory or on the program diskette.  This file contains information about system requirements.
  166.  
  167. In order to run WPMerger (and most word processors) a 'FILES=25' command (line) is required in file 'CONFIG.SYS' located in the root directory of your boot disk (usually C:).  Use your word processor to edit/create this file.  IMPORTANT:  Make sure you edit and save this file in text (or non-document) mode.
  168.  
  169. Also, the 'Path' statement in file 'AUTOEXEC.BAT' should be modified in order to be able to start your word processor in a directory other than where it resides.  Usually this procedure is done when  you install your word processor.   However, you should check to make sure it has been done at this time.  For Example, if the path statement looks like:
  170.  
  171. path c:\;c:\dos
  172.  
  173. you should append 'c:\wp' (wp is the directory name where you word processor is stored) to the end of the path line:
  174.  
  175. path c:\;c:\dos;c:\wp
  176.  
  177. After you have updated these files re-boot your computer (CTRL-ALT-DEL); changes to these files take effect the next time your machine has been re-booted.
  178.  
  179.  
  180.  
  181. Initial Program Startup
  182.  
  183. To start the program enter WPM from the appropriate drive letter.  If, for example, you are starting the program from your hard disk, log to C: and enter WPM, press [ENTER]. 
  184.  
  185. When the program is started for the first time, you are asked to select your computer video, and set an initial user configuration.  The following three sections guide you through these procedures.
  186.  
  187. Refer to the section titled 'Using the Menu Systems' in the Command Reference for specifics regarding using the program menus.
  188.  
  189.  
  190.  
  191. Setting Program Video
  192.  
  193. Setting the program video is the first thing to do after starting WPMerger  for the first time.  After the Video Selection prompt box appears onscreen, use the vertical cursor keys and press [ENTER] to select the video for your system.  Once the initial starting procedure is complete, you can change the program video by selecting the Video Selection menu command in the OPTIONS menu.
  194.  
  195.  
  196. Available Video Selections:
  197.  
  198. Default display mode (display before starting WPMerger)
  199. Monochrome
  200. Color (standard CGA, EGA, or VGA); choose a color palette from the eight available color palettes
  201. Enhanced color mode (EGA-43 line)
  202. Enhanced color mode (VGA-50 line)
  203. LCD (laptop)
  204.  
  205. If the "Color" or "Enhanced Color" selections are selected, choose a color palette from the Color Palette prompt box by using the vertical cursor keys, press [ENTER].  Once a selection has been made the screen is re-painted with the newly selected colors.  Simply select another palette by repeating the selection procedure.  Press [ESC] when you are satisfied with the currently selected palette (and its colors are onscreen).
  206. Refer to the section titled Video Selection in the Command Reference for more information about the various color palettes and their descriptors.
  207.  
  208.  
  209. Using an Initial User Configuration:
  210.  
  211. Directories are established in User Configurations.  It is suggested that your databases are in a subdirectory, \DATA, off the root directory \WPM.  It is also suggested that your word processor merge documents are placed in a subdirectory, \DOCUMENTS, off the root directory \WPM.
  212.  
  213. You can, however, place the merge documents under your word processor directory.  Setting up your merge system this way will not affect the usage of WPMerger .
  214.  
  215.  
  216. Much the configuration information has been defaulted.  Change any item in the     window that needs to be changed.  Press [ENTER] to go to the next prompt.
  217.  
  218. Use the vertical cursor keys to select your word processing program, press     [ENTER].
  219.  
  220. Enter the document extension name that you are using or will use for your word processor merge documents, press [ENTER].  The document selection that you enter will determine the word processor merge documents that will be available to you when you go to merge.  For example, to make all documents selectable leave the prompt blank or enter *.*, or if you are using (for Microsoft Word, use *.DOC, for Sprint use *.SPR).  If you decide to give a unique extension to your merge documents, like enter that extension in this prompt (e.g. .MRG).
  221.  
  222. Enter the path (i.e. drive letter and directory) for your WPMerger databases, press [ENTER].
  223.  
  224. Enter the path (i.e. drive letter and directory) for your word processor merge documents, press [ENTER].
  225.  
  226. Enter a name for your merge data files that you make with WPMerger, and press [ENTER].  The default merge data file name is MERGE.DAT, does not have to be changed.  The name you specify in this prompt is the name given to all merge data files you create using this user configuration and can be changed at the time you merge.
  227.  
  228. Enter a name for field list data files.  A field list is a list of all the field names in a database that is sent to your word processor to facilitate creating merge     documents.  The default name is FIELDLST.DAT and does not have to be     changed.  The name can be changed at the time a field list is generated     without changing the default name specified.
  229.  
  230. When finished entering components, press [F10] to exit the window and save. 
  231.  
  232. Once an initial configuration is complete, you can begin using the program.  It is recommended that you peruse the information facility (Information command in the WPM menu) before you begin using the program.
  233.  
  234.  
  235.  
  236. Setting Program Options:
  237.  
  238. The user definable characteristics for WPMerger  are defined by selecting the Program Options command in the OPTIONS menu.  Use the vertical cursor keys or press [ENTER] to locate the desired characteristic.  The prompts that are followed by a question mark require a [Y] or [N] to be entered.
  239.  
  240. Refer to the section titled Using the Menu Systems in the Command Reference for specifics regarding using the program menus.
  241.  
  242. The following options are available:
  243.     Pulldown or Conventional Menu System
  244.     Function Key Bar Display
  245.      Date Display
  246.     Time Display
  247.     Date Separator Character
  248.     Sound On or Off
  249.     Remember Cursor Position for Record Editing
  250.     Field Filler Character
  251.     Select Document When Calling Your WP
  252.     Merge File Sequence Variable Name
  253.     Backup and Restore Diskette Drive
  254.     Printer Setup
  255.     Printer Page Length and Width
  256.  
  257.  
  258.  
  259. Using a Sample Database
  260.  
  261. WPMerger  installs with two sample databases.  Use them to become familiar with the program.  You can also use any of these sample templates for your own use.
  262.  
  263. The program diskette has two sample databases with records and a sample merge document.  The merge document is compatible with the database Office only and has versions for all word processors currently supported.  The sample databases are:
  264.     ADDRESS - a sample home address database
  265.     OFFICE - a sample office client database
  266.  
  267. The sample merge documents are:
  268.     (For use with the database office only)
  269.     SAMPLLTR.WP5 (for WordPerfect 5.0)
  270.     SAMPLLTR.WP4 (for WordPerfect, Pre-5.0 version)
  271.     SAMPLLTR.DOC (for Word )
  272.     SAMPLLTR.SPR (for Sprint)
  273.     SAMPLLTR.ED (for PC-Write)
  274.  
  275. To use a sample database:
  276.     Choose the Load command in the FILE menu.
  277.     Select one of the databases from the Load Database window.
  278.     Follow the manual through the various topics with the loaded database to assist in learning to use the program. 
  279.  
  280.  
  281.  
  282. Online Help:
  283.  
  284. Obtain online help by pressing [F1] at any time.  The Help menu command in the WPM menu explains how to utilize the help facility.  A specific manual reference page for each help topic is displayed in the upper right corner of the Help window.  Press [ESC] to return to the program.
  285.  
  286.  
  287.  
  288. Online Information:
  289.  
  290. The Information command gives access to an online information facility that explains the various procedures and functions available in the program.  Infor-mation is accessed by selecting the Information command in the WPM menu.
  291.  
  292.  
  293.     To use INFORMATION:
  294.     Choose the Information command in the WPM menu.
  295.     Select the desired information topic from the Information Topics         Directory window, press [ENTER].
  296.     Use [PgUp] and [PgDn] to access multiple pages.
  297.     When you are finished, press [ESC] to return to the program.
  298.  
  299.  
  300.  
  301.  
  302. Chapter 2, Creating a Database.
  303.  
  304.  
  305. This chapter explains how to:
  306. start the program
  307. resume your work from the previous session
  308. view a database in different ways
  309. use a sample application template
  310. plan a new database
  311. create a new database
  312. enter data
  313.  
  314.  
  315.  
  316. Overview:
  317.  
  318. Program Startup:
  319.  
  320. Enter WPM at the appropriate drive letter to start the program.  If, for example, you are starting the program from your hard disk, log to C:, enter WPM, and press [ENTER].  To exit the program to DOS, choose the Quit menu command in the FILE menu.
  321.  
  322. Refer to the section titled Using the Menu Systems in the Command Reference for specifics regarding using the program menus.
  323.  
  324.  
  325. Using the Resume Command
  326.  
  327. The Resume command in the FILE menu allows you to continue the work from the previous work session.  When you quit WPMerger , the program remembers the database and the last onscreen record you were working in.  The next time you start WPMerger  and select the Resume command, the program opens the necessary files for you so you can resume your work.
  328.  
  329.  
  330. Viewing Formats
  331.  
  332. There are two formats available to view a database:  Template and List.
  333.  
  334. Template format (the default format) allows you to view a database record-by-record, one at a time.  The data is displayed within brackets to the right of the respective field prompts.  In Template format, you are able to carry out any of WPMerger procedures, i.e. editing data, etc.  List format allows you to view many records at once.  All record data in List format is displayed in a tabular fashion with prompt names heading each column of field data.  List format is reserved for viewing only and data editing is not allowed.
  335.  
  336.  
  337. To view the records in List format:
  338. Choose View in the VIEW menu.
  339. Use [PgDn] and [PgUp] to access information on multiple screens.
  340. Use the lateral cursor keys to access information laterally.
  341. Press [HOME] to view records at beginning of current sort.
  342. Press [END] to view records at the end of the current sort.
  343. Press [ESC] at any time to return to Template format.
  344.  
  345.  
  346. Planning a Database Template
  347.  
  348. In order to effectively utilize your time and energy, it is important to carefully plan your database template before you begin to implement it.  Make sure your template includes all the fields for every word processing document you plan to use with it.  You can, of course, change fields later, but fields are most effectively implemented at the time when you create your database.
  349.  
  350. If you already have a library of documents that utilize data merging, compile a list of fields that are currently defined.  Compiling a list of fields can become laborious.  So you can use WPMerger  to the extract fields for you and place them directly on a new template.  Select the New menu command in the FILE menu and answer Yes to the Field Extraction prompt.
  351.  
  352.  
  353.  
  354. Setting Up a New Database Template
  355.  
  356. When you choose to create a new database, you are asked to give it a name.  Choose the new database name carefully to help you remember its name at a later time.  Names can have a maximum of 8 characters and cannot have periods (.) or spaces.
  357.  
  358. New databases must be created within a user configuration.  Note that a database is created in the directory that is specified in the selected user configuration.  Select the user configuration that you plan to use with the new database from the User Configuration Selection prompt box.
  359.  
  360. New database templates can be created by either extracting fields that exist in one of your word processing merge documents or by creating a template from scratch, field by field.
  361.  
  362. The following points apply to creating a new template:
  363. Fields are formatted one every other line on the screen, with the field prompt displayed flush left followed by the data field (separated by two spaces).
  364. When extracting fields, the default field length for each field is defined to the end of the screen line.
  365.  
  366. Field location is very important.  Placing more than one field on a line allows you more effective use of your computer screen, as more information may be accessed on any single screen.  Therefore, once you have entered the fields onto the template, use the Template Modification menu command in the EDIT menu and press [F6] for the Move Field command to move the fields around. 
  367.  
  368.  
  369.  
  370. Creating a Database from Scratch
  371.  
  372. To create a new database from scratch, use the New menu command in the FILE menu.  When you are not extracting fields from a word processing merge document, you must enter all of the fields and their respective field characteristics manually.
  373.  
  374. Having chosen the New command, answer No to the Field Extraction prompt.  Give the new database a name and assign it a configuration in the New Database window.  Then, simply enter the various field characteristics after each prompt in the Add Field window.  For specifics about entering field characteristics refer to the following section. 
  375.  
  376.  
  377. To create a database from scratch:
  378.  
  379. Choose New in the FILE menu.
  380. Answer No in the Extracting Fields prompt box.
  381. Enter the desired name in the New Database window.
  382. Select the user configuration that you plan to use the new database with in the New Database window.
  383. Begin entering fields and their respective characteristics in the Add Field window.
  384. Press [ENTER] after the last field characteristic to add the field to the template.
  385. Press [ESC] when finished entering fields.
  386. Change field locations by choosing Template Modification in the EDIT menu (then press [F6]).
  387.  
  388.  
  389.  
  390. Defining Field Characteristics
  391.  
  392. Field characteristics are the user-definable qualities given to a field that makes one field different from another.  These characteristics dictate how the field looks and the kind of data that can reside in each field.  Field characteristics are defined in the Add Field and Edit Field windows.
  393.  
  394. Field characteristics include:
  395. field prompt
  396. field name
  397. field type
  398. character input styles
  399. field length
  400. a field's sortability
  401. record entry default (optional)
  402. user notes (optional)
  403.  
  404.  
  405. Enter the field prompt after the prompt Add Field window.  Field prompts can consist of letters, numbers, spaces, and symbols.  Their only function is to help the user define the data that will reside in the field.  You can use any amount of characters in the field prompt.
  406.  
  407.  
  408. Enter the field name after the prompt in the Add Field window.  The field name is the database reference that the word processor recognizes for merging.  Field names can have a maximum of 18 characters and no spaces.  Note that these are field name limitations set by word processor programs.
  409.  
  410.  
  411. Choose the field type in the prompt box above the Add Field window.  All the different field types have default field lengths and some have character input styles and data display defaults.  All of these characteristics are changeable.
  412. Available field types:
  413.     Text
  414.     Numeric
  415.     Date
  416.     Telephone
  417.     Yes/No
  418.     Male/Female
  419.     True/False
  420.     Time
  421.     State
  422.     Zip Code
  423.  
  424.  
  425. Data entered in Text type fields appear flush left within the brackets.  Text formatted fields allow you to enter both letters and numbers.  The default field length for Text type is 20 characters.  Choose the character input style from the prompt box above the Add Field window.
  426.  
  427. Character input characteristics for Text type are:
  428.     Initial capitalization of all words
  429.     All uppercase
  430.     All lowercase
  431.     No input style
  432.  
  433.  
  434. Data entered in Numeric type fields appear flush right within the brackets.  Fields formatted as numerical allow you to enter numbers only.  The decimal place has a default of two places.  The default field length for Numeric type is 10 characters.
  435.  
  436.  
  437. Dates can be entered in either American or European format.  Character input styles are set when creating a field.  Dates are displayed so that dashes or hyphens (set under Program Options) are automatically placed between them after they are entered.  The current date displayed onscreen shows the date separator that is currently selected in Program Options.  The minimum field length for a date formatted field is eight characters.  The default field length for Date format is an unchangeable 18 characters.
  438.  
  439. The current system date can be automatically entered into a date type formatted field by pressing the [TAB] key at the field (see tabbing previous data).  This feature is functional only when there has been no previous data entered into the field at that time.
  440.  
  441. Character Input styles for Date type are:
  442.     American e.g. MM/DD/YY
  443.     European e.g. DD/MM/YY
  444.  
  445. Display formats for Date type are:
  446.     short e.g. 03/28/88
  447.     short written  e.g.  28-Mar-88
  448.     standard e.g. March 28, 1988
  449.     European (or military) e.g. 28 March 1988
  450.     legal e.g. the 28th day of March of 1988
  451.  
  452.  
  453. Telephone type can be used only with the thirteen digit American telephone system.  Telephone extension numbers and international telephone numbers should employ a different field, with text type format.  Choose the display format with telephone type in the prompt box above the Add Field window.  Telephone number entries are displayed so that dashes and parenthesis are placed automatically after the number is entered.  The field length for telephone format is a non-changeable 14 characters.
  454.  
  455.  
  456. Yes/No field type
  457.  
  458. Fields formatted with Yes/No field type are specific fields that answer a question or condition as either yes or no (or on or off).  The default field length for Yes/No type is an unchangeable 1 character.  Data entry in Yes/No type field is limited to either a 'Y' or an 'N'.
  459.  
  460. Yes/No fields are useful when applying conditional logic to merge documents.  An example of using conditional logic is the use of Include Paragraphs:  if in a record, a 'Y' is present in the Yes/No formatted field, then include (or print) paragraph named xxx.
  461.  
  462. Yes/No fields are useful in many applications such as:
  463.     Does the person have a spouse?
  464.     Is this company a very good client?
  465.     Send a Christmas card to this person?
  466.     Is this account a preferred account?
  467.     Does this female prefer the salutation 'Ms'.╙
  468.  
  469.  
  470. Male/Female field type
  471.  
  472. Fields formatted with Male/Female field type are specific fields that qualify a person╒s gender.  The default field length for Male/Female type is an unchangeable 1 character.  Data entry in Male/Female type field is limited to either a 'M' or an 'F'.  Male/Female fields are useful in correspondence for personalizing salutations.
  473.  
  474.  
  475. True/False field type
  476.  
  477. Fields formatted with True/False field type are specific fields that answer a condition as either true or false.  The default field length for True/False type is an unchangeable 1 character.  Data entry in True/False type field is limited to either a 'T' or an 'F'.  In other database programs this field type is referred to as a logic or logical field.
  478.  
  479. Data entered in Time type fields can be entered in standard time (0-12 hrs; AM/PM) or military time (0-24 hrs) and can be set by you when you create a field.  The default field length for Time format is an unchangeable 6 characters. 
  480.  
  481. Display defaults for Time type are:
  482.     standard e.g. 1:43 PM
  483.     military e.g. 13:43
  484.  
  485. When entering time in:
  486.  
  487. Standard time:  if you enter an 'a' or a 'p' after the entered time, 'AM' or 'PM' will automatically appear in the field, provided the field length is at least 6 characters in length.  
  488.  
  489. Military time:
  490. the numbers will appear the same as they are entered.
  491.  
  492.  
  493. State formatted entries appear flush left within the brackets.  The default field length for State format is an unchangeable 16 characters.
  494.  
  495. If the official state abbreviations are used, any state in a State type field will automatically be printed out in longhand after being entered and when merging.  Therefore, enter the two character abbreviations when entering states.  If you want to enter a state longhand the program will check the spelling to make sure the entry is correct.  The official state and Canadian provincial abbreviations are listed in Appendix F.
  496.  
  497.  
  498. Zip Code field type
  499.  
  500. Zip Code formatted entries allow only numbers to be entered.  The default field length for Zip Code field type is an unchangeable 10 characters.
  501.  
  502. When a nine digit number is entered a hyphen is placed at the appropriate location in the code.  If five letter digit codes are entered the code appears flush left in the field.
  503.  
  504. Each different field type has a default field length and for some fields this length is unchangeable.  Once you select a field type, the default length will automatically appear after the field length prompt.  You may change this number at the time you are creating or later when editing your template by pressing [F4] after selecting the Template Modification menu command in the EDIT menu.
  505.  
  506.  
  507.  
  508. Setting Sortable Fields.
  509.  
  510. Define fields as sortable by simply selecting Y after the sort prompt box in both the Add Field and Edit Field windows.  You may select up to 10 different fields to sort your records.
  511.  
  512. Fields defined as unique sortable fields are those that do not allow duplicate data entries in their field.   A sortable field that is defined as unique can only be left blank in one record.  All or none of the ten possible sortable fields can be defined as unique.
  513.  
  514.  
  515. Entering Record Entry Defaults
  516. Each field in the template can be assigned a record entry default.  Assign a default to the fields that will have similar data from record to record.  These defaults facilitate data entry by not having to enter the same data over and over for each new added.  When a new record is brought up onscreen, the data entry defaults are automatically placed in the informational fields.  Simply type over the existing default if it does not pertain to the record.
  517.  
  518. The User Notes prompt is reserved for any notes about the field itself or about the data that it may contain.  For example, you may wish to enter the date the field was added or the person's name that added the field.  The information in this prompt is not displayed onscreen in the template and can only be accessed in the Edit Field window.  The user notes information is printed when printing the database template.
  519.  
  520.  
  521.  
  522. Creating a Database from a Merge Document
  523.  
  524. To create a new database from an existing word processing merge document, use the New menu command in the FILE menu.  Answer Yes to the Field Extraction prompt.  Enter the document and its path (drive letter and directory) and WPMerger  reads the document and automatically retrieves all of the fields and places them flush left on the new database template.
  525.  
  526. Give the new database a name and assign a configuration to the database in the New Database window.  Names can have a maximum of 8 characters and cannot have periods (.) or spaces.
  527.  
  528. Enter the field characteristics for each field once the field extraction procedure is complete.  The field name and the field prompt will be identical by default, but you can change them when entering field characteristics.  Refer to the previous section in this chapter titled Defining Field Characteristics for more information about field characteristics.
  529.  
  530. To add additional fields after you are finished with entering field characteristics, press [F3] after selecting the Template Modification menu command in the EDIT menu.
  531.  
  532.  
  533. To create a database from a document:
  534.  
  535.     Choose New in the FILE menu.
  536.     Answer Yes in the Extracting Fields prompt box.
  537.     Enter the exact name of the word processing document, the word processing program, and its path.
  538.     Enter the desired name in the New Database window.
  539.     Select the user configuration you plan to use with the database from the New Database window.
  540.     Enter field characteristics for each field.
  541.     Begin adding records.
  542.  
  543.  
  544.  
  545. Data Entry
  546.  
  547. Entering data is accomplished the same way that it is normally done in any word processor program.  When you use [INS] to insert information, ╥INS╙ will appear in the lower right border of the screen.  Use [DEL] to delete entered information at the cursor position.  Use [ENTER] or [cursor down] to move the cursor to the next data entry location on the template.
  548.  
  549. The various keyboard commands for data entry are listed in Appendix B and are available onscreen in the Information facility, and by requesting help while editing and adding records.
  550.  
  551.  
  552. Insert Mode
  553. Like most word processor programs, WPMerger  uses an insert mode ([INS] key) which can be toggled on and off by the user.  When in insert mode, the cursor becomes a blinking block and 'INS' appears on the status line of the screen.
  554.  
  555. Tabbing Previous Record Data
  556. Using the [TAB] key can become very useful when you find yourself entering the same information in a field from record to record, and you have chosen not to use a record entry default.  When entering data, pressing [TAB] instead of [ENTER] will copy the field data from the previous record and place it in the current record.  Note that this feature is only functional when no data is present in the field.
  557.  
  558. The current system date can be entered automatically by utilizing the [TAB] key on a date type field.  This feature only functions when information has not been previously entered at the time the tabbing procedure is used.
  559.  
  560.  
  561. Accessing Multiple Screens
  562.  
  563. When a database consists of more than one screen, press [PgDn] to page to the next screen and [PgUp] to page to the previous screen.  To page to the next record, press [CTRL]-[PgDn] and press [CTRL]-[PgUp] to page to the previous record.  When multiple screens are present and you are on the last screen of the record, you can press [PgDn] (just as [F10]) to save the record.
  564.  
  565.  
  566. Data Entry in Unique Sortable Fields
  567.  
  568. A unique sortable field is a sortable field that does not allow duplicate data entries.  The program does not allow a record to be saved when another record exists with the same entered information.  A sortable field can be defined by the user as unique in the Edit Field and Add Field windows.
  569.  
  570.  
  571. Record Entry Defaults
  572.  
  573. To facilitate data entry, you may default the contents of any field by using the Record Entry Defaults menu command in the EDIT menu.  You can set record entry defaults for any fields in the database.  For example, if the majority of the addresses in a database are from a given state, you can save time by naming an entry default to that field.  Therefore, when entering a new record, fields that have data defaults will automatically contain the default information.  Simply type over the information if it does not apply to the new record.
  574.  
  575.  
  576. Setting a Cursor Position Default
  577.  
  578. To facilitate data entry after adding a new field, default the cursor position to ╥Same Field╙, by choosing the Program Options menu command in the OPTIONS menu.  This places the cursor at the same field as the previous onscreen record when a next or previous record is called up.
  579.  
  580.  
  581.  
  582. Chapter 3   Editing a Database
  583.  
  584.  
  585. This chapter explains how to: 
  586.  
  587. edit the template
  588.     -change field characteristics
  589.     -add and delete fields
  590.     -move fields
  591.     -copy fields
  592.  
  593.  
  594. Overview
  595.  
  596. Editing a database is a common procedure.  You may find that you will spend more time editing your databases than merging their information.  New information will need to be added, old information will need to be replaced, and incorrect information will need to be changed.
  597.  
  598.  
  599.  
  600. Template editing
  601.  
  602. A database template consists of all of the field prompts and their respective empty data entry fields (enclosed by brackets) in a given database.  Just as it is possible to add, edit, copy, and delete records, these same functions can be applied to database fields.
  603.  
  604.  
  605. Editing Fields
  606.  
  607. All of the field characteristics, except location, can be changed by using the Edit Field command ([F4]).  Choose the Template Modification menu command in the EDIT menu and press [F4].  Field location can be changed by using the Move Field command ([F6]).
  608.  
  609.  
  610. To change field characteristics:
  611.  
  612.     Choose Template Modification in the EDIT menu.
  613.     Position the cursor within the field you wish to change.
  614.     Press [F4].
  615.     Use [ENTER] or cursor keys to go to the field characteristic you would like to change.
  616.     Make the desired changes.
  617.     Press [PgDn] or press [ENTER] after the last prompt to call up the next field in the template if desired.
  618.     Press [ESC] when you are finished editing existing fields and would like to make other edits to the template.
  619. or...
  620.     Press [F10] to save changes if you are finished modifying the template.
  621.  
  622.  
  623. Refer to the following discussion for changeable Field Characteristics.  Also refer to the section titled Defining Field Characteristics in Chapter 2 for more information about field characteristics.
  624.  
  625.  
  626.  
  627. Field Prompt.
  628.  
  629. The field prompt is the name that exists in the template, but is not used by the word processor.  A field prompt╒s sole purpose is to aid the user by identifying fields onscreen.  Prompt names can consist of spaces, letters, numbers, and/or symbols.  You are not allowed to use double spaces.
  630.  
  631. Field Name.
  632.  
  633. The field name is not displayed in the template, but is used by the word processor program for field identification.  Field names can have a maximum length of 18 characters and can contain no spaces.
  634.  
  635. Field Type.
  636.  
  637. The field type given to a field dictates the type of information that can exist in the field.  For the available field types refer to the section titled Defining Field Characteristics in Chapter 2.
  638.  
  639. Field Length.
  640. Choose any length greater than zero.  If you decrease the field length you run the risk of truncating the data in the field (when the information in a field is greater than the entered field length).  The field types Telephone, Zip Code, Yes/No and Male/Female, do not allow you to change the field length.
  641.  
  642. Setting Sortable Fields.
  643. You can set as many as 10 sortable fields.  To make a field sortable, enter Y after the prompt.
  644.  
  645.  
  646. Record Entry Defaults.
  647.  
  648. Each field in the template can be assigned record entry defaults.  Assign defaults to the fields that will have similar data from record to record.  These defaults facilitate the process of data entry by not having to enter the data for each record added.  When a new record is brought up onscreen, the data entry defaults are automatically placed in the informational fields.
  649.  
  650. The user notes prompt is reserved for any notes about the field itself or about the data that it may contain.  The information in this prompt is not displayed onscreen in the template and can only be accessed in the Edit Field window.  The notes information is printed when printing the database template.
  651.  
  652.  
  653. Setting a Sort Filter
  654.  
  655. Refer to Chapter 2, pages# for specifics about setting a sort filter.
  656.  
  657.  
  658. Adding Fields
  659.  
  660. Fields can be added to the template at any time by simply choosing the Template Modification command in the EDIT menu, the pressing [F3].  Always position the cursor to the desired position for the new field before you press [F3].  A field can not be added over the top of another field.  Fields can be added to the template only one at a time (unlike adding fields to a new database when there is an add field mode).
  661.  
  662.  
  663. To add a field:
  664.  
  665.     Choose Template Modification in the EDIT menu.
  666.     Position the cursor to the desired location of the new field.
  667.     Press [F3].
  668.     Enter field characteristics in the Add Field window.
  669.     Press [ENTER] after the last window prompt to complete the addition.
  670. or...
  671.     Press [F10] to save changes if you are finished with all the desired template modifications.
  672.  
  673.  
  674. Hint:  To facilitate entering data for the newly created field, you can default the cursor position to 'Same Field' by using the Program Options command in the OPTIONS menu.  Refer to the section titled Setting Program Options in Chapter 1 for more information about setting default cursor positions.  This will save a great deal of time by bringing you to the same field each time you call up the next record.
  675.  
  676.  
  677. Deleting Fields
  678.  
  679. Any field can be deleted when it is no longer necessary in your database.  Deleting a field from the template erases the field and the field╒s data in all the database records.  Deleting a field is an UNDOABLE action.
  680.  
  681. To delete a field:
  682.  
  683.     Choose Template Modification in the EDIT menu.
  684.     Position the cursor on the desired field to delete.
  685.     Press [F7].
  686.     Confirm the deletion by entering Y after the prompt.
  687.  
  688.  
  689. Moving Fields
  690.  
  691. Fields can be moved about the database template to better organize your information.  Placing more than one field on a line will shorten the number of screens in your database and enable you to put more information on each screen.  Therefore, it can make your work faster and more efficient.
  692.  
  693. Fields are moved in a WYSIWYG (What-You-See-Is-What-You-Get) fashion to allow you to visualize field location relative to other fields.  Moving a field, in this section, refers to moving both a field and its respective field prompt.  Fields can only be moved one page beyond the last page with existing fields.  This avoids inadvertently adding blank template pages to your databases.
  694.  
  695.  
  696. To move a field:
  697.  
  698.     Choose Template Modification in the EDIT menu.
  699.     Position the cursor on the desired field to move.
  700.     Press [F6] to grab the field.
  701.     Use the cursor keys to move the field about the template.    
  702.     Press [F6] again to place the field in the template.
  703.  
  704.  
  705. No field can be placed overlapping another field.
  706.  
  707. There must be at least two (2) spaces between fields on the same line.
  708.  
  709. The field cannot extend the lateral bounds of the screen, but can be moved vertically on another template page.
  710.  
  711.  
  712. Copying Fields
  713.  
  714. There will be circumstances when you may want to copy a field and its data (from all the records) and put it in another place in the template.  Copying a field does not remove the field from its original placement, but makes a duplicate of it for placement in another location in the template.
  715.  
  716. Use the Template Modification menu command in the EDIT menu.  Press [F5] after you have placed the cursor in the field you would like to copy.  Once the field is copied, use the cursor keys to position the copied field and then press [F5] again to place the field.  The name of the copied field consists of the the original field's name followed by the number two (2).
  717.  
  718. Change the name of the copied field by selecting the Edit Field command, [F4].
  719.  
  720.  
  721. To copy a field:
  722.  
  723.     Choose Template Modification in the EDIT menu.
  724.     Position the cursor on the desired field to copy.
  725.     Press [F5].
  726.     Use the cursor keys to position the newly copied field.
  727.     Press [F5] again to place the copied field in the template.
  728.  
  729.  
  730.  
  731.  
  732. Chapter 4   Organizing a Database
  733.  
  734. This chapter explains how to:
  735.  
  736. sort records
  737. reconstruct a damaged database
  738.  
  739.  
  740.  
  741. Overview
  742.  
  743. This chapter explains how to organize a database to establish a database management system.
  744.  
  745.  
  746.  
  747. Sorting Records
  748.  
  749. Sorting the records will change the sequence that the records will appear onscreen and the order they are printed (i.e. in the merge data file).  You are able to define the fields that you would like to eventually use to sort the records by with the sort option.  The user can define up to ten (10) sortable (unique or non-unique) fields with each database for the purpose of sorting the records.  Refer below or to the section titled Defining Field Characteristics in Chapter 2 for more information about defining a field as sort fields.
  750.  
  751.  
  752. Defining a Field as Sortable
  753.  
  754. Before a field can be used to sort the records, it must be defined as sortable.  A field's sortability is a field characteristic and is changed by selecting Template Modification command in the EDIT menu.  Position the cursor at the field and press [F4] to edit the field.  Enter a Y after the Sortable Field? [Y/N] prompt.
  755.  
  756.  
  757. To define a field as sortable:
  758.  
  759.     Choose Template Modification in the EDIT menu.
  760.     Position the cursor on the desired field to edit.
  761.     Press [F4] for the Edit Field command.
  762.     Select Y in the sortable field prompt.
  763.     Press [ENTER] after the last option in the window or press [F10].
  764.  
  765.  
  766. Changing the Record Sort
  767.  
  768. Changing the record sort only changes the order that records appear onscreen and does not change the information in your records.  The current field sort being utilized at any given time is displayed on the program status line.
  769.  
  770.  
  771. To change the record sort:
  772.  
  773.     Select Sort in the VIEW menu.
  774.     Use the vertical cursor keys to select the sortable field to use as the current sort.
  775.     Press [ENTER] to execute the sorting procedure.
  776.  
  777.  
  778. Zero-filling Numbers in Sort Fields
  779.  
  780. IT IS VERY IMPORTANT THAT YOU ZERO FILL NUMBERS THAT ARE ENTERED INTO A SORTABLE FIELD.  In an ascending record sort, the smallest numbers should be sorted first.  Consider the following number sets as an example.  Note that the number with the asterisk would have precedence and would be sorted first.
  781.  
  782.     Not Zero-filled    Zero-filled
  783.       5    05*
  784.     15*    15
  785.  
  786. A space character has a higher precedence than 0-9.  Consequently numbers with spaces preceding them appear before other numbers in a sort, given their lengths are equal.
  787.  
  788. Decimal places are considered fixed for sorting.  Fixed decimal positions and zero filled numbers result in a logical sorting order.  Consider the following example.  The order of precedence and sorting is given parenthetically.
  789.  
  790.     .01    (1st)    0.01     (1st)
  791.     .2    (4th)    0.2     (2nd)
  792.     1.005    (3rd)    1.005    (3rd)
  793.     10.01    (2nd)    10.01    (4th)
  794.  
  795.  
  796. Sorting Rules (The Rules of Precedence):
  797.  
  798. Bounds are given according to the current record sort and follow the sorting     rules.
  799.     The precedence order for:
  800.         -text and state type fields
  801.             1.    Blank fields
  802.             2.    Numbers (in order from 0 to 9)
  803.             3.    Text (alphabetically in order from A or a to Z or z)
  804.         -numeric, and telephone type fields        
  805.             Decimal places are considered fixed.
  806.             1.    Blank fields
  807.             2.    Numbers (in order from 0 to 9)
  808.         -date type fields
  809.             Dates are sorted with year having highest precedence, followed by             month, then day.
  810.  
  811.  
  812. WPMerger  automatically sorts upper and lower case letters together, e.g. a 'B' is equal to a 'b' when sorting.
  813.  
  814.  
  815.  
  816. Reconstructing a Damaged Database
  817.  
  818. In the event that a database is damaged or unreadable by WPMerger , you should first try to reconstruct the data.  Damage is most often caused by system or power failure while the database is being changed.  The reconstruction process discards unusable records and reconstructs the sorting/indexing system.
  819.  
  820. Records that are deleted, by using the Delete Record command, continue to take up space in the data file even though they no longer appear onscreen.  The Database Reconstruction command goes through the entire database file and deletes unusable and deleted records.
  821.  
  822. To reconstruct a database:
  823.  
  824.     Load the database to be reconstructed.
  825.     Choose Database Reconstruction in the UTILITIES menu.
  826.     Press [ENTER] to execute the reconstruction.
  827.  
  828.  
  829. When to reconstruct a database:
  830.     1. When you want to delete unused or deleted records from a database data file.  This has the effect of decreasing the amount of disk space used by the database.
  831.     2.When a database has become 'corrupted.'
  832.  
  833.  
  834.  
  835.  
  836. Chapter 5   Creating a Word Processor Merge Document
  837.  
  838. This chapter explains how to:
  839.  
  840. plan your merge documents
  841. Create a field name list in your word processor
  842. preparing documents in your word processor for merging
  843.  
  844.  
  845.  
  846. Overview
  847.  
  848. This chapter explains how to create word processing documents for merging with WPMerger databases.  You will find almost all of this chapter╒s information in your word processor manual, but it is included in this manual to save you time.
  849.  
  850.  
  851.  
  852. Planning a Merge Document
  853.  
  854. By carefully planning your merge documents you can save valuable time and money.  Spacing and punctuation mistakes will make your documents look like they were hastily made and less professional.  The following points may be helpful to you when planning your merge documents.
  855.  
  856.  
  857. Spacing
  858.  
  859. Making sure you place spaces appropriately within the document.  This will save time and money later when printing.
  860.  
  861.  
  862. Characters
  863.  
  864. The font, font style, and font size of the merged data will be identical to the preceding text in the document.
  865.  
  866.  
  867. Punctuation
  868.  
  869. Place punctuation in appropriate locations in the text.  It is a good idea to do all your punctuating within the document instead of the database.  This ensures that the punctuation is consistent throughout the each printed document.
  870.  
  871. It is recommended, however, that punctuation for salutations, i.e. Mr., Mrs., Ms., and Miss, be placed within the database if Miss is to be used.  See the sample database Address for an example of punctuating salutations.
  872.  
  873.  
  874. Naming Merge Documents
  875.  
  876. Merge documents, which are merely word processor documents with imbedded merge commands, must be named according to the DOS naming rules of data files.  A name consists of up to eight characters (with no spaces or punctuation), a period, and then a three letter file extension name.
  877.  
  878.  
  879.  
  880. Creating a Field Name List
  881.  
  882. The ability to send a list of all the database field names to your word processor program facilitates the creating of merge documents.  This feature automatically inserts the data source (merge data file name) and a list of all fields in the loaded database to the beginning of a word processor document.  All you have to do is to cut and paste the field names in the document in their desired locations.
  883.  
  884. This feature also alleviates having to remember the field names that you have to work with in your database.  Therefore, you do not have to print your database or jump back-and-forth between the database and document to know the fields that you have available.
  885.  
  886. The created field name list displays the field names, one per line.  Each field name is automatically surrounded by the necessary merge commands of the word processing program specified in the current user configuration.  The merge data file name that has been specified in the current user configuration is also displayed at the beginning of the list.  Once the field exportation is completed, you will remain in your word processing document.
  887.  
  888.  
  889. To send field names to a word processor:
  890.  
  891.     Load the database with the fields to be sent to your word processor.
  892.     Select Field List in the WPM menu.
  893.     Enter the following in theField List window:
  894.         destination path for the new word processor document
  895.         name for the field list document.
  896.     Press [ENTER] to begin the process of creating a field name list.
  897.  
  898.  
  899.  
  900. Preparing Merge Documents
  901.  
  902. Each word processor program requires different text commands in order to merge data into them.  This section outlines the various merging commands necessary to complete your word processing documents.
  903.  
  904. The actual field names (not the field prompts) are specified in the documents.  If, while editing a database, you change any field names, remember to change them in your merge documents that you use with the database.
  905.  
  906. For your word processor merging commands, refer to one of the following sections.
  907.  
  908.  
  909. Using WordPerfect
  910.  
  911. WordPerfect files defined:
  912.  
  913. A Primary file ( = merge document) is the merge document that contains fixed text and merge commands necessary for merging.  The merge commands control the fields, records, and other items of the secondary file.  These codes have to be placed in the correct places and in the correct order for a successful merge.
  914.  
  915. A Secondary file ( = merge data file) is the records or data to be merged into a document.  This is the file created by WPMerger .
  916.  
  917.  
  918. Creating a Merge Document (Primary File)
  919.  
  920. WordPerfect traditionally uses field numbers rather than field names as field identifiers.  This means that field ^F1^ references the first data field in the dat file, ^F2^ references the second, etc.
  921.  
  922. However, WordPerfect now (in versions > 5.0) allows you the option of referring to fields in your documents as either field numbers or field names.  Previous versions allow you to use field numbers only.  IT IS IMPORTANT THAT YOU CHOOSE TO USE EITHER FIELD NAMES OR NUMBERS.  DO NOT INTERMIX FIELD NUMBERS AND FIELD NAMES IN YOUR MERGE DOCUMENTS.
  923.  
  924. Whether you decide to use field names or field numbers, the field indicators in the merge document text remain the same.  Fields are preceded and followed by a caret (^) (e.g.  ^F1^ or ^Fname^).  The caret is placed by pressing the [CTRL] key, as the keyboard caret is not recognized.  The following discussion outlines the various keyboard commands necessary when using either field numbers or field names.
  925.  
  926.  
  927. Field number keyboard commands
  928. Place ^Fn^ in the text wherever you want a field╒s data to be placed.  The ╥n╙ is the actual field number that corresponds to the field in the WPMerger  database.
  929.  
  930.  
  931. Two ways to place a field number:
  932.  
  933.     Shift-F9, press F, enter the field number, and press [ENTER].
  934. or
  935.     Press [CTRL]-F, enter the field number, and press Shift-6.
  936.  
  937.  
  938. Field name keyboard commands
  939.  
  940. Place ^field name^  in the text wherever you want a field╒s data to be placed.   The 'field name'  refers to the actual name given to the field in WPMerger , not the prompt.  The field name must be entered exactly as it exists in your WPMerger database.
  941.  
  942.  
  943. Two ways to place a field name (ver > 5.0 only):
  944.  
  945.     Shift-F9, press F, enter the field name, and press [ENTER].
  946. or
  947.     Press [CTRL]-F, enter the field name, and press Shift-6.
  948.  
  949. WordPerfect utilizes a variety of different merging commands in the text to execute different functions.  WordPerfect merge commands are preceded by a single caret (e.g. ^E).  Always precede the desired command letter with the [CTRL] key to place a caret before the letter, as carets entered directly from the keyboard are not recognized as merge commands.
  950.  
  951.  
  952. WordPerfect Merge Document Commands
  953. ^C To temporarily halt a merge in order to display a message or to allow an entry from the keyboard.
  954. ^D To insert the current date into the merged document
  955. ^Fn^ To indicate a field name or number in a primary file
  956. ^G To activate a macro
  957. ^N To look for the next record to continue the merge in progress (for a primary file)
  958. ^n^ To reference a field by name, n = field name (for a primary file)
  959. ^O To display menu, prompt, message, or instruction
  960. ^P To activate a primary file
  961. ^Q To quit a merge
  962. ^S To activate a secondary file
  963. ^T To send to the printer the merged text
  964. ^U To update (rewrite or view) the screen displaying the merge in progress
  965. ^V To transfer merge codes to a document created by a merge
  966.  
  967.  
  968.  
  969. Using Microsoft Word
  970.  
  971. Word files defined:
  972.  
  973. A Data File, Template, or Form Letter Document ( = merge document) is the merge document that contains fixed text and merge commands necessary for merging.  The merge commands control the fields, records, and other items of the database file.
  974.  
  975. A Database File ( = merge data file) is the records or data to be merged into a document.  This file is the one created by WPMerger.
  976.  
  977.  
  978. Creating a Word Merge Document
  979.  
  980. Word utilizes a variety of different merging commands in the text to execute different functions.  Word merge commands are preceded and followed by double brackets (i.e.  <n>).  To enter double brackets press the [CTRL]-bracket key, i.e. ([) and (]).
  981.  
  982.  
  983. Word Merge Document Commands
  984.  
  985. General
  986. <Data fid> Denoting data file at beginning of merge document
  987.  
  988. fid = data file name (=Merge Data File Name)
  989.  
  990. <fieldname> Denoting a field name
  991.  
  992. Conditional logic
  993. <IF> If data present, then print 
  994. <ELSE> If data not present, then execute following command
  995. <ENDIF> End of entry    
  996.  
  997.  
  998.  
  999. Using WordStar
  1000.  
  1001. WordStar files defined:
  1002.  
  1003. A Data File (= merge data fille) is the records or data to be merged into a document.  This file is the one created by WPMerger.
  1004.  
  1005. WordStar does not use specific terminology for a merge document.
  1006.  
  1007. In WordStar the merge data file name is specified in the merge document (by using a .DF command) and not at the time of merging.
  1008.  
  1009.  
  1010. Creating a WordStar Merge Document
  1011.  
  1012. Field names are specified in the text by using the 'And' symbol (&) by pressing Shift-7.  The header record, or list of field names that are used in the merge document are preceded by a Dot RV (.RV) command.
  1013.  
  1014.  
  1015. WordStar Merge Document Commands
  1016. &fieldname& Denoting a field name
  1017. .DF filename Denoting the merge data file name at beginning of document
  1018. .RV fieldname1, fieldname2, etc. Header record (list of fields)  (example:  .RV Lname, Fname, address, birthday,...)
  1019.  
  1020.  
  1021.  
  1022. Using Sprint
  1023.  
  1024. Sprint files defined:
  1025.  
  1026. A Record File (= merge data file) is the records or data to be merged into a document.  This file is the one created by WPMerger.
  1027.  
  1028. A Letter File (= merge document) is the merge document that contains fixed text and merge commands necessary for merging.
  1029.  
  1030. Creating a Sprint Merge Document
  1031.  
  1032. A header record is not specified in using Sprint.  In Sprint the merge data file name is not specified in the merge document, but is given at the time of merging.
  1033.  
  1034. Sprint Merge Document Commands
  1035.  
  1036. F10 key for menu Sequence of commands to place a:
  1037. [I] for insert field name
  1038. [M] for Merge Field, enter the field name
  1039.  
  1040.  
  1041.  
  1042. Using PFS Professional Write
  1043.  
  1044. PFS Professional Write files defined:
  1045.  
  1046. A Data file to merge (=  merge data file) is the records or data to be merged into a document.  This file is the one created by WPMerger.
  1047.  
  1048. Document (= merge document) is the merge document that contains fixed text and merge commands necessary for merging.
  1049.  
  1050.  
  1051. Creating a PFS Professional Write Merge Document
  1052.  
  1053. Field names are specified in the text by using the 'Asterisk' symbol (*) by pressing Shift-8.  There is no header record necessary at the beginning of the merge document.  Prompts are given at the time of a merge for merge data file name.
  1054.  
  1055.  
  1056. PFS Professional Write Merge Document Command
  1057.  
  1058. *field number* Denoting a field name
  1059.  
  1060.  
  1061.  
  1062.  
  1063. Chapter 6   Selecting Records and Merging
  1064.  
  1065. This chapter explains how to:
  1066.  
  1067. select records to create merge data files
  1068. call your word processor program for merging
  1069. complete a merge in a word processor program
  1070.  
  1071.  
  1072. Overview
  1073.  
  1074. Merging is the combining of two different components;  a word processor merge document and a WPMerger merge data file.  A merge data file is a file that you create with WPMerger which consists of a record or group of records that is later merged with a document in your word processor program.  Merging your data with WPMerger is fast and completed with ease.
  1075.  
  1076.  
  1077. Selecting Records for a Merge Data File 
  1078.  
  1079. WPMerger  gives you different options for selecting records when setting up your merge data files.
  1080.  
  1081. You can set up merge data files with:
  1082.     a single record selection
  1083.     a group (multiple) of record selections
  1084.     a group selection using the Filter command
  1085.     a combination of single(s) and multiple record selections
  1086.  
  1087.  
  1088.  
  1089. Single Record Merge Data File
  1090.  
  1091. When you want to select only one record, use the Single menu command in the SELECT menu.  Once Single is selected, choose the desired commands in the Single Record Selection window to complete the desired record selection.
  1092.  
  1093. Refer to the following regarding the various commands involved with a single record(s) selection.
  1094.  
  1095.  
  1096. Select Onscreen Record
  1097.  
  1098. Choosing Select Onscreen Record tags the current onscreen record to be placed in a merge data file.  Use this command each time you find a record that you want to place in the merge data file, i.e.  a merge data file that has been created by using the Single command can have more than one record.
  1099.  
  1100.  
  1101. Finish Record Selection Process
  1102.  
  1103. Select Finish Record Selection Process when you have finished the record selection process.
  1104.  
  1105.  
  1106. Edit Currently Displayed Record
  1107.  
  1108. Select Edit Currently Displayed Record  to temporarily edit the information on the onscreen record before  selecting the record.  Any editing by using this command is not saved.  This feature is valuable in personalizing the data.  An example:  Editing a field named First Name from Albert to Al in order to personalize the salutation to your friend, Al.
  1109.  
  1110.  
  1111. Find a Record
  1112.  
  1113. The Find a Record command functions just like the Find Record command in the EDIT menu.  This command has been placed in this window for your convenience.
  1114.  
  1115.  
  1116. Next Record Retrieval
  1117.  
  1118. Use this command to call up the next record in the current sort.
  1119.  
  1120.  
  1121. Previous Record Retrieval
  1122.  
  1123. Use this command to call up the previous record in the current sort.
  1124.  
  1125. To select a single record:
  1126.  
  1127.     Place the desired record to be merged onscreen.
  1128.     Choose Single in the SELECT menu.
  1129.     Tag the record for selection by selecting Select Onscreen Record.
  1130.     Select Finish Record Selection Process when finished selecting single records.
  1131.     Change the merge data file name if applicable.
  1132.     Press Y to call your word processor to execute a merge or press N to continue working in WPMerger.
  1133.  
  1134.  
  1135. Multiple Record Merge Data File
  1136.  
  1137. When you want to select a group of records, use the Multiple menu command in the SELECT menu.  Give the bounds for the group selection according to the current sort and the other appropriate selection information in the Multiple Select window.
  1138.  
  1139. The default multiple record selection is all the records in the database.  When chosen, the first record in the sort will automatically appear after the 'From...' prompt and the last record will appear after the 'To...' prompt.  Simply type over either selection boundary to change the multiple record selection.  Refer to the summary below for rules regarding setting the selection bounds.
  1140.  
  1141. The primary sort is the sort that has been defined by using the Sort command in the VIEW menu.  The secondary sort specifies the order of the records in the merge data file (which have been selected by the primary sort).  Therefore, the printing order can be accomplished by using a secondary sort.  If you would like to use a secondary sort, specify it by selecting one of the sortable fields in the prompt box.  The default secondary sort is the SAME field as the primary sort.
  1142.  
  1143.  
  1144. An Example of Using a Secondary Sort:
  1145.  
  1146. Selecting records by Last Name (primary sort) and printing the records by ZIP Code (secondary sort).
  1147.  
  1148.  
  1149. To select multiple records:
  1150.  
  1151.     Choose Multiple in the SELECT menu.
  1152.     Specify the record bounds to be selected according to the current sort field (From... and To...).
  1153.     Select the word processor merge document.
  1154.     Change the merge data file name if applicable.
  1155.     Specify a secondary sort if desired.
  1156.     Press [ENTER] to execute the multiple record selection.
  1157.  
  1158.  
  1159. Rules for giving record selection bounds:
  1160. 1.    Record bounds are specified by the current sort field.
  1161. 2.    The records are selected by a To...From... command.
  1162. 3.    The following is the order of precedence specified by each field type:
  1163.          text or state
  1164.             Blank fields
  1165.             Numbers (in order from 0 to 9)
  1166.             Text (alphabetical in order from A or a to Z or z)
  1167.         numeric, date, or telephone
  1168.             Blank fields
  1169.             Numbers (in order from 0 to 9)
  1170.                 Decimal places are considered fixed.                            Numbers are automatically zero filled.
  1171.  
  1172. After a record selection has been executed, a record selection information summary of the created merge data file is displayed onscreen.  The window displays the total number of records merged, the merge file name, and a prompt to call your word processor to complete the merge.
  1173.  
  1174.  
  1175. Number of Records Selected
  1176.  
  1177. The number displayed after this prompt represents all the records that matched the selection criteria.  If this number seems inaccurate, the selection criteria may not have been as precise as desired.
  1178.  
  1179.  
  1180. Naming Merge Data Files
  1181.  
  1182. After you have selected records for merging, WPMerger  will automatically give the new merge data file the default merge data file name that you have selected in the current user configuration.  If the merge data file currently exists, WPMerger will ask you if you would like to overwrite the file.  If you want to overwrite the file, press Y, if you want to change the name, press N and type over the name in the prompt box.
  1183.  
  1184. Merge data file names follow the DOS rules regarding any file name.  File names can have a maximum of eight characters (twelve when including the extension).
  1185.  
  1186.  
  1187. Call Your Word Processor
  1188.  
  1189. If you wish to call your word processor to complete the merging process enter a Y after this prompt.  Enter an N to remain in WPMerger .  This prompt is essentially the same as the CallWP command in the SELECT menu.
  1190.  
  1191.  
  1192. Combination Merge Data File
  1193.  
  1194. The Combination command allows the selection of a combination of single record selection(s) and/or one or more multiple record selections.  The same procedure as described above for each type of record selection is utilized for the combination record selection.
  1195.  
  1196. To merge a combination of records:
  1197.  
  1198.     Choose Combination in the SELECT menu.
  1199.     Select Single or Multiple in the prompt.
  1200.     Complete the necessary steps as described above for the selection you have chosen.
  1201.     When finished, answer the prompt YES if you have more records to select.
  1202.     Select Single or Multiple in the prompt.
  1203.     Continue the sequence until all the desired records have been selected.
  1204.     Answer YES if you want to call your word processor to merge.
  1205.  
  1206.  
  1207. Combination Record Selection
  1208.  
  1209. Choose Combination to select a combination of single record(s) and/or a combination of multiple record(s) to be placed in a merge data file.  Records are selected by using the Single and Multiple record selections over and over again in a combining fashion until all of the desired records have been selected.
  1210.  
  1211. To select and merge a combination of records:
  1212.  
  1213.     Choose Combination in the SELECT menu.
  1214.     Select Multiple or Single in the prompt box.
  1215.     Follow the instructions in the previous sections about single and multiple record selection.
  1216.     Select Y in the More Records prompt if more selections are desired.
  1217.     Repeat the procedure until all desired records have been placed in the merge data file.
  1218.      Select N in the More Records prompt when record selection is complete.
  1219.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  1220.  
  1221.  
  1222. Selection Filter Merge Data File
  1223.  
  1224. When you want to select records that have data in common in more than one field, use the Filter command in the SELECT menu.  The selection filter utilizes 'and' logic so that records with all of the specified data are selected and placed in a merge data file.  Enter data or partial data in the desired fields to ensure an accurate record selection.  There is no default record selection when using the selection filter.
  1225.  
  1226. An example:  In the database ADDRESS, you want all the records from the state of California with 45... zip codes.  Five of the seven records meet the selection criteria and are placed in a merge data file.
  1227.  
  1228.  
  1229. To select records using the selection filter:
  1230.  
  1231.     Choose Filter in the SELECT menu.
  1232.     Press [Tab] or [Enter] to locate the desired fields.
  1233.     Enter data or partial data in the fields to complete the desired record selection.
  1234.     Press [F10] when finished entering the selection criteria (or press [Enter] after the last field) to begin the selection process. 
  1235.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  1236.  
  1237.  
  1238.  
  1239. Partitioning a Merge Data File
  1240.  
  1241. When there are a large number of records in a merge data file, it may be necessary to partition the file into sections.  This is sometimes necessary because some word processors will blowup if too many data records are trying to he merged.  Therefore, to accommodate partitioning, the Multiple Record Selection window has a prompt for splitting a merge file into sub-files or partitions.  The default partition value is equal to the number of records in the database, and therefore no partitioning will occur.
  1242.  
  1243. Always try to complete the merge without partitioning first.  If the merge is unsuccessful, your word processor may display a message and tell you to save your document.  Of course you will not be able to save the merge documents because the merging process is in progress.  Therefore, if your merge is unsuccessful, the merge will have to be at least partially redone.
  1244.  
  1245. On the second merge attempt, try partitioning the merge data file in half.  The total number of records that you will be able to merge at a single time depends upon the record length in your database and on the word processor program that you use.  Ultimately, the maximum number of records that can be merged without partitioning the merge file can only be determined by trial-and-error.
  1246.  
  1247.  
  1248. Record Selection Summary
  1249.  
  1250. After a record selection has been executed, a record selection information summary of the created merge data file is displayed onscreen.  The window displays the total number of records merged, the merge file name, and a prompt to call your word processor to complete the merge.
  1251.  
  1252. You do not have to call your word processor to merge the records after every merge data file is created.  There will be times when you just want to create a merge data file for later use.  Simply call up the desired merge data file from within your word processor program at a later date.
  1253.  
  1254.  
  1255. Number of Records Selected
  1256.  
  1257. The number displayed after this prompt represents all the records that matched the selection criteria.  If this number seems inaccurate, the selection criteria may not have been as precise as desired.
  1258.  
  1259.  
  1260. Naming Merge Data Files
  1261.  
  1262. After you have selected records for merging, WPMerger  will automatically give the new merge data file the default merge data file name that you have selected in the current user configuration.  If the merge data file currently exists, WPMerger will ask you if you would like to overwrite the file.  If you want to overwrite the file, press Y, if you want to change the name, press N and type over the name in the prompt box.
  1263.  
  1264. Merge data file names follow the DOS rules regarding any file name.  File names can have a maximum of eight characters (twelve when including the extension).
  1265.  
  1266. NOTE:  DO NOT ENTER THE NAME OF YOUR WORD PROCESSOR MERGE DOCUMENT FOR THE NAME OF THE MERGE DATA FILE.  THE MERGE DATA FILE CONTAINS THE RECORDS JUST SELECTED.  THE MERGE DOCUMENT IS THE WORD PROCESSOR DOCUMENT.
  1267.  
  1268.  
  1269. Call Your Word Processor
  1270.  
  1271. If you wish to call your word processor to complete the merging process enter a Y after this prompt.  Enter an N to remain in WPMerger .  This prompt is essentially the same as the CallWP command in the SELECT menu.
  1272.  
  1273.  
  1274. Calling up your Word Processor
  1275.  
  1276. The CallWP menu command is used to transfer to your word processor.  Use the command to call your word processor after you have generated a merge data file to precede with a merge.  Note that your are not required to complete a record selection process in order to use the CallWP command.
  1277.  
  1278. You do not have to call your word processor after every merge data file is created.  There will be times when you just want to create a merge data file for later use.  If this is the case, simply call up the desired merge data file from within your word processor program at a later date.
  1279.  
  1280.  
  1281. To call your word processor:
  1282.  
  1283.     Choose CallWP in the SELECT menu.
  1284.     Select the desired document in the window to merge with the created merge data file or simply for transfer.
  1285.  
  1286.  
  1287. Printing Documents
  1288.  
  1289. This section gives the menu commands necessary to actually merge WPMerger  records in a merge data file with a word processor merge document.  The ordered sequence of menu commands listed below for each word processor assumes you have just completed a startup of the word processor program or you have used the CallWP menu command.
  1290.  
  1291.  
  1292. Word processor:merge commands;
  1293.  
  1294. WordPerfect
  1295.     NOTE:  Always merge documents with no documents loaded onscreen to avoid writing over the loaded document.
  1296.     Press [CTRL]-[F9]  (for Merge/Sort)
  1297.     Press [1] to select Merge 
  1298.     Enter the Primary file name (WordPerfect merge document)
  1299.     Enter the Secondary file name (WPMerger  merge data file)
  1300.     Press [ENTER] to begin the merging process
  1301.     Press Shift-[F7] to print the merged reports
  1302.  
  1303. Word
  1304.     Press [ESC] to use the menus
  1305.     Press [P] for the Print command
  1306.     Press [M] for Print Merge command
  1307.         -Press [P] for Print Merge Printer
  1308.             to merge to the printer, i.e.  to print the report documents
  1309.               or...
  1310.         -Press [D] for Print Merge Document
  1311.             to merge to the screen or a data file
  1312.     Enter the name of the Word merge document, press [ENTER]
  1313.  
  1314. There is no need to use the print merge options to specify a record selection because the selection has been completed for the merge data file within WPMerger .
  1315.  
  1316.  
  1317. WordStar
  1318.     Press [M] for Merge
  1319.     Enter the document name to merge print.
  1320.         Press [ENTER] to display all the regular printing options
  1321.            or...
  1322.         Press [ESC] to begin printing immediately
  1323.  
  1324. You cannot use the P command to print a merge document as the dot commands do not work and the data is not inserted.
  1325.  
  1326.  
  1327. Sprint
  1328.     Press [F10] to use the menus
  1329.     Press [P] to Print
  1330.     Press [M] for Merge
  1331.     Press [L] for Letter File (i.e. merge document)
  1332.         Enter the merge document name
  1333.     Press [R] for Record File (i.e. merge data file)
  1334.         Enter the merge data file name    
  1335.     Press [G] to begin printing
  1336.  
  1337.  
  1338. PFS Professional Write
  1339.     Press [F2] to call up the Print menu
  1340.     Press [5] to print working copy
  1341.     Enter the merge data file name in the Data File Merge field on the print     options screen, press [ENTER]
  1342.  
  1343.  
  1344.  
  1345.  
  1346. Chapter 7   Importing and Exporting
  1347.  
  1348. This chapter explains how to:
  1349.  
  1350. import data from other data formats
  1351. export a WPMerger  database to other programs
  1352.  
  1353.  
  1354.  
  1355. Importing from a Different Data Format
  1356.  
  1357. In the importation process, the program reads and converts the data files of other data formats to a WPMerger file structure.  Importing data files can be completed with ease as there are very few steps involved.
  1358.  
  1359. Select the Import menu command in the WPM menu.  Select the data format type.  Enter the path and select the existing data file name.  Change the current user configuration to change the directory to select other data files.  Enter a name for the imported data file after the prompt.
  1360.  
  1361.  
  1362. To import data:
  1363.  
  1364.     Choose Import in the WPM menu.
  1365.     Select the  data format type.
  1366.     Enter the import path and select the name of the data file in the Data File Selection window.
  1367.     Enter a name for the newly imported data file.
  1368.     Press [ENTER] to begin the importation procedure.
  1369.  
  1370.  
  1371. Supportable import data formats:
  1372.     dBASE III
  1373.     ASCII (quote-comma delimited)
  1374.  
  1375. NOTE:  The importation of word processor data can be accomplished by standardizing the data.  Modify the data format into a comma-delimited file and save the data file as a DOS Text file (non-document).  A header record is not needed.  Use the ASCII format selection to import the comma-delimited data file.
  1376.  
  1377.     Comma-delimited record example:
  1378.     Mr.,Mike,Johnson,Notebook Manufacturers Inc,...
  1379.  
  1380. A failed importation may be due to:
  1381.     incompatible data format
  1382.     Insufficient disk space
  1383.  
  1384.  
  1385. NOTE:  The extraction of fields is not considered an importation of data.  Although fields are imported from a word processor merge document, this procedure is considered a part of creating a database, and not importing an existing database.  Refer to the section titled Creating a Database from a Merge Document in Chapter 2 for more information about field extraction.
  1386.  
  1387.  
  1388. Exporting to a Different Database Program
  1389.  
  1390. Data can easily be exported from WPMerger  into a variety of other data formats.  In the exportation process, the program converts the WPMerger data files and writes them to disk in the format you have chosen.  Exporting data files can be completed with great ease as there are very few steps involved.
  1391.  
  1392. Select the Export menu command in the WPM menu.  Select the data format type, path and name for the export data file.
  1393.  
  1394. To export a database:
  1395.  
  1396.     Load the database you want to export.
  1397.     Choose Export in the WPM menu.
  1398.     Select the data file format.
  1399.     Specify the destination path (drive letter and directory).
  1400.     Enter a name for the newly exported database.
  1401.     Press [ENTER] to begin the exportation procedure.
  1402.  
  1403. Supportable export data formats:
  1404.     dBASE III
  1405.     ASCII (quote-comma delimited)
  1406.  
  1407. A failed exportation may be due to:
  1408.     Insufficient disk space
  1409.  
  1410.  
  1411.  
  1412.  
  1413. Chapter 8   Advanced Topics
  1414.  
  1415. This chapter discusses:
  1416.  
  1417. starting WPMerger  with a database
  1418. using sequence numbers
  1419.  
  1420.  
  1421. Starting WPMerger with a Database
  1422.  
  1423. It is possible to start WPMerger with a database, alleviating the need to use the Load, Resume, or New commands.  This is accomplished by entering the name of the database on the command line.  For example, to start WPMerger with the database OFFICE enter the following command:  WPM OFFICE, press [ENTER].
  1424.  
  1425.  
  1426. To start the program with a database:
  1427.  
  1428.     Log to the drive where WPMerger resides.
  1429.     Enter WPM database name, press [ENTER].
  1430.  
  1431.  
  1432. Using Sequence Numbers
  1433.  
  1434. Sequence numbers can be used to aid in printing large reports.  If used, a field variable (whose name is user definable) is added to each merge data file.  Each record╒s value for this field is a number whose value starts at one (1) and is incriminated for each subsequent record.  For this Word example assume that the name of the sequence variable is SN.
  1435.  
  1436.     SN,LNAME,FNAME,ADDRESS,CITY,STATE,ZIP
  1437.     1,ANDERSON,WILLIAM,100 WATT,TAMPA,FL,35765
  1438.     2,HENDRICKSON,BETTY,24 SPOKE LANE,ST. LOUIS,MO,99721
  1439.  
  1440. If an alternate name is given to the sequence variable, then its name will appear in the header record in the place of SN in the example.  If no name is given to the sequence variable name, no field is created in the merge data file.
  1441.  
  1442.  
  1443.  
  1444.  
  1445. Command Reference
  1446.  
  1447. This Command Reference explains how to:
  1448.  
  1449. use the two menu systems
  1450. use the menu commands
  1451.  
  1452.  
  1453.  
  1454. Overview
  1455.  
  1456. WPMerger offers both conventional and pulldown menus.  Each menu system has advantages and disadvantages.  Try both systems and decide for yourself which system you enjoy using the most.
  1457.  
  1458.  
  1459. Using the Menu Systems
  1460.  
  1461. The Pulldown menus allow easy access to all the menu commands.  The menu commands that are useable at any given time are the only ones that are accessible.  There is no need to memorize menu commands because they are so easily accessible by the user.
  1462.  
  1463. The Conventional-type menu system is the structured, nested menu system currently utilized in many computer applications.   The conventional menus are a multi-leveled menu system with each level only giving the commands available at that particular level.
  1464.  
  1465. Both menu systems utilize the same windows and prompt boxes throughout the program.  Both systems also offer keyboard commands that correspond to some of the menu commands.  The available keyboard menu commands are listed in Appendix B.
  1466.  
  1467. The following two sections explain how to use each menu system.
  1468.  
  1469.  
  1470. Using Pulldown Menus
  1471.  
  1472. The pulldown menus are organized as a three-tiered system.  The first tier consists of the main menus which are displayed across the top of the screen.  Their respective commands, the second tier, are hidden until the menu is selected.  As a menu is selected, the characters of its name become light and, if the previously selected menu commands were exposed, its respective menu commands are rolled down.  Windows are the third tier in the menu system.  Some windows contain prompts for the user to give commands while others require the selection of choices.
  1473.  
  1474.  
  1475. To Select One of the Main Menu Items
  1476.  
  1477. The lateral cursor keys are used to select one of the main menus.  A faster way to select a main menu and to pull down its menu commands is to press [ALT]-[first letter of its name].  For example, [ALT]-[W] selects the WPM menu and pulls down its menu.  The [ESC] key toggles the menu commands up and down.  You may want to draw the menu commands up in order to view data better.
  1478.  
  1479. Selecting a Main Menu:
  1480.     Press [ALT]-[first letter of its name], or...
  1481.     Use the lateral cursor keys
  1482.  
  1483.     Pulling Down its Menu commands:
  1484.     Press [ENTER], or...
  1485.         Press [Cursor Down], or...
  1486.         [Cursor Up], or...
  1487.         Press [ESC]
  1488.     
  1489.     Drawing the Menu Commands Up:
  1490.         Press [ESC]
  1491.  
  1492.  
  1493. To Select a Menu Command in a Menu
  1494.  
  1495. The vertical cursor keys are used to select a menu command in the selected main menu.  The [ENTER] key is then pressed to complete the selection.  A faster way to select a menu command is to press the first letter of its name.  When this is done, the command selection is completed without pressing the [ENTER] key.  For example, assume you want to load a database.  After you have selected the FILE menu, by simply pressing L the Load command is immediately executed.
  1496.  
  1497. The program remembers the last menu command used for each main menu.  The last used command is the current selected menu command for each main menu.  Simply strike the [ENTER] key to complete the selection, or select a different command.
  1498.  
  1499.  
  1500. To use the pulldown menus:
  1501.  
  1502.     Select a main menu by using the lateral cursor keys or by pressing [ALT]-[first letter of its name].
  1503.     Use the vertical cursor keys to select a menu command, press [ENTER] or press the first letter of the menu command name.
  1504.     Use [ESC] key to toggle the exposure of the menu commands.
  1505.  
  1506.  
  1507. Using Conventional Menus
  1508.  
  1509. The conventional-type menu system is not as accessible as the pulldown menus because you are able to select from only one level of commands at any given time.  The conventional-type menus are organized in multiple levels.  Just as with the pulldown system, windows are the last level in the menu system.  Both menu systems utilize the same windows.  Some of the windows contain prompts for the user to give commands while others require the selection of choices.
  1510.  
  1511. To select a menu command, use the lateral cursor keys and then press the [ENTER] key to complete the selection.  Just as with the pulldown system, a faster way to select a menu command is to press the first letter of its name (without having to press the [ENTER] key).  Press [ESC] to return to the previous level of menus.
  1512.  
  1513.  
  1514. To use the conventional menus:
  1515.  
  1516.     Select a menu command by using the lateral cursor keys, press [ENTER] or press the first letter of the menu command name.
  1517.     Press [ESC] to return to the previous level of commands in the menu system hierarchy.
  1518.  
  1519.  
  1520. THE WPM MENU
  1521.  
  1522. The WPM (WPMerger) menu is the place to go to find the online Information facility, which gives information about using the program effectively.  The commands for the importing, exporting, and combining of databases are also found in this menu.
  1523.  
  1524.  
  1525. Available WPM menu commands:
  1526.  
  1527. Import
  1528. Export
  1529. Field List
  1530. Information
  1531. Help
  1532.  
  1533.  
  1534. Import
  1535.  
  1536. Choose Import to import a data file format from a different program into WPMerger.
  1537.  
  1538. To import  data:
  1539.  
  1540.     Choose Import in the WPM menu.
  1541.     Select the  data format type.
  1542.     Enter the import path and select the name of the data file in the Data File Selection window.
  1543.     Enter a name for the newly imported data file.
  1544.     Press [ENTER] to begin the importation procedure.
  1545.  
  1546.  
  1547. Export
  1548.  
  1549. Choose Export to send a WPMerger database to a different program or data file format.
  1550.  
  1551. To export a database:
  1552.  
  1553.     Load the database you want to export.
  1554.     Choose Export in the WPM menu.
  1555.     Select the data file format.
  1556.     Specify the destination path (drive letter and directory).
  1557.     Enter a name for the newly exported database.
  1558.     Press [ENTER] to begin the exportation procedure.
  1559.  
  1560.  
  1561. Field List
  1562.  
  1563. Choose Field List to send a list of fields from the loaded database to your word processor.  The data source, i.e. the merge data file name specified in the current user configuration, is also displayed at the top line.  The field names are automatically formatted with the necessary merge commands of the word processor specified in the current user configuration.  This feature facilitates the creating of new merge documents.
  1564.  
  1565. To send field names to a word processor:
  1566.  
  1567.     Load the database with the fields to be sent to your word processor.
  1568.     Select Field List in the WPM menu.
  1569.     Enter the following in the Field List window:
  1570.         destination path for the new word processor document
  1571.         name for the field list document.
  1572.     Press [ENTER] to begin the process of creating a field name list.
  1573.  
  1574.  
  1575.  
  1576. Information
  1577.  
  1578. Choose Information to obtain information about how to use WPMerger.
  1579.  
  1580.  
  1581. To use the Information facility:
  1582.  
  1583.     Choose Information in the WPM menu.
  1584.     Select the desired topic from the Information Topic Directory, press [ENTER].
  1585.     Use [PgUp] and [PgDn] to access multiple pages of information.
  1586.     Press [i] to return to the Information Topic Directory.
  1587.     Press [ESC] to exit to the program.
  1588.  
  1589.  
  1590.  
  1591. Help
  1592.  
  1593. Choose Help to get assistance using the Help facility.  This will give information about how to use the help facility.  If you need help at any time during a program operation simply press [F1] to obtain specific help about the selected menu command, current window, or current prompt box.
  1594.  
  1595.  
  1596. To use the Help facility:
  1597.  
  1598.     Press [F1] at any time.
  1599.     Use [PgDn] and [PgUp] to access multiple pages of help, if present.
  1600.     Press [ESC] to exit the help facility to the program.
  1601.  
  1602.  
  1603.  
  1604. THE FILE MENU
  1605.  
  1606. Available FILE menu commands:
  1607.  
  1608. Load
  1609. Resume
  1610. New
  1611. Delete
  1612. Rename
  1613. Copy
  1614. Print
  1615. Combine
  1616. Quit
  1617.  
  1618.  
  1619. Load
  1620.  
  1621. Choose Load to call up an existing database.  Loading a database brings a database into the workspace.  Once Load is selected,  choose the database from the alphabetical list in the Load window by using the cursor keys OR by pressing the first letter of its name.  Then press [ENTER].
  1622.  
  1623. To Load a Database:
  1624.  
  1625.     Select Load in the FILE menu.
  1626.     Choose the desired database to be loaded in the Load window.
  1627.     If necessary, press [F2] to change the current configuration for a different database selection.
  1628.     Press [ENTER] to complete the selection. 
  1629.  
  1630.  
  1631. Resume
  1632.  
  1633. Choose Resume to continue the work from the previous work session.  This feature calls the last opened database and places the onscreen record you were working on when you last quit the program.
  1634.  
  1635.  
  1636. New
  1637.  
  1638. Choose New to create a new database either by scratch or by extracting fields from an existing word processor merge document.
  1639.  
  1640. To create a new database from scratch:
  1641.  
  1642.     Choose New in the FILE menu.
  1643.     Select a user configuration and enter a name for the new     database.
  1644.     Answer NO in the Field Extraction prompt box.
  1645.     Enter the following for each field in the New window:
  1646.         field prompt
  1647.         field name
  1648.         (field number, if you are using a pre-5.0 version of WordPerfect) field type
  1649.         field length
  1650.         sortable field (if desired)
  1651.     Press [ENTER] after the last prompt for the next field entry.
  1652.     Press [ESC] when finished entering fields.
  1653.  
  1654.  
  1655. Extracting Fields
  1656.  
  1657. The Extraction of fields command facilitates the preparation of a new database template.  The fields are extracted from an existing word processor merge document and placed on a new template.  The imported fields will appear flush left in the new template.
  1658.  
  1659. To create a new database from an existing word processor document:
  1660.  
  1661.     Choose New in the FILE menu.
  1662.     Select a user configuration and enter a name for the new     database.
  1663.     Answer YES in the Field Extraction prompt box.
  1664.     Select the name of the word processor merge document.
  1665.     Once the field names are placed on the template, specify the field characteristics and edit the template as needed.
  1666.  
  1667.  
  1668. Delete
  1669.  
  1670. Choose Delete to erase an existing database.  If you delete a database, all of the records in the database are erased.  You have the option to only delete the data and leave the template intact.  The deletion of a database is an undoable command.  Note that as an option, only the database data may be deleted.
  1671.  
  1672. To delete a database:
  1673.  
  1674.     Choose Delete in the FILE menu.
  1675.     Select the desired database from the Selection window.
  1676.     If necessary, press [F2] to change the current configuration for a different database selection.
  1677.     In the Delete window, press Y in the Delete Data Only prompt if you want to delete the data only.
  1678. or...
  1679.     Press N to delete the data and the template.
  1680.     Confirm the deletion procedure.
  1681.     Press [ESC] to abort the deletion.
  1682.  
  1683.  
  1684. Rename
  1685.  
  1686. Choose Rename to give an existing database a new name.  
  1687.  
  1688. To rename a database:
  1689.  
  1690.     Choose Rename in the FILE menu.
  1691.     Select the desired database from the Selection window.
  1692.     If necessary, press [F2] to change the current configuration for a different database selection.
  1693.     Enter the desired new  name in the Rename window.
  1694.     Press [ENTER] to begin the renaming procedure.
  1695.     Confirm the renaming procedure.
  1696.  
  1697.  
  1698.  
  1699. Copy
  1700.  
  1701. Choose Copy to make a copy of a database.  The Copy Database command allows the copying of the template only or the template and all its data records.  To copy a database, select a database name and configuration to copy from and a name and configuration for the new database.
  1702.  
  1703. To copy a database:
  1704.  
  1705.     Choose Copy in the FILE menu.
  1706.     Select the configuration and database name from the Selection window.
  1707.     If necessary, press [F2] to change the current configuration for a different database selection.
  1708.     In the Copy window, enter the desired name and select the program configuration that you plan to use with the newly copied database.
  1709.     If you want to copy the template only, enter Y  in the Copy Template Only prompt.
  1710. or...
  1711.     Enter N to copy the template and data.
  1712.     Confirm the copy procedure.
  1713.  
  1714.  
  1715. Print
  1716.  
  1717. Choose Print to print information in WPMerger and select the desired print selection in the Print window.  When selecting Screen, the entire screen will be printed with the exception of the Print window.
  1718.  
  1719. Before printing, make sure that the page size (rows and columns) of your printer has been correctly entered in Program Options (in the OPTIONS menu).  If Database Records is chosen, you can change the page size directly in the Print Records Selection window.
  1720.  
  1721. If a title for the printed selection (or report) is desired, enter it after the Report Title prompt.
  1722.  
  1723. Available print selections:
  1724.     Database Records
  1725.         -Template format
  1726.         -List format
  1727.     Current (Single) Record
  1728.     Screen ( [CTRL-P] )
  1729.     Template (Database Layout-fields and their characteristics)
  1730.  
  1731. To print a selection:
  1732.  
  1733.     Load the desired database.
  1734.     Choose Print in the FILE menu.
  1735.     Select the print selection in the Print window.
  1736.     Select the desired records if Database Records is selected.
  1737.     Get the printer ready to receive the selected output.
  1738.     Press [ENTER] to begin the printing procedure.
  1739.  
  1740.  
  1741. To print multiple records at one time, records are chosen as they are when selecting multiple records (Multiple command in the SELECT menu) for merge data files.  The default record print selection is all the records in the database.  When chosen, the first record in the sort will automatically appear after the 'From...' prompt and the last record will appear after the 'To...' prompt.  Simply type over either selection boundary to change the print record selection.
  1742.  
  1743. NOTE:  Printing any screen at any time can be accomplished at any time during program operation by pressing [CTRL]-P.
  1744.  
  1745.  
  1746. Combine
  1747.  
  1748. Two or more databases can be combined into a single database, whether or not they have identical fields or templates.  The program does not check for duplicate records.  Therefore, if a duplicate record is present, there will be two identical records in the combined database.
  1749.  
  1750. If the two databases have the same fields, the resulting template is not changed in any way.  Field locations will be consistent throughout the newly combined database.  If different fields exist, the uncommon fields are placed flush left at the end of the template.  These new fields that are added by the combining procedure will be empty in the records that the field was not previously present.
  1751.  
  1752. Load the database that you want to use as a base to have a second database combined with it.  The name of the newly combined database will default to the name of the database that is loaded when the command is chosen.
  1753.  
  1754. To combine databases:
  1755.  
  1756.     Load the database to use as the base for the combine procedure.
  1757.     Choose Combine in the File menu.
  1758.     Select the second database in the Combine window: 
  1759.     If necessary, press [F2] to change the current configuration for a different database selection.
  1760.     Press [ENTER] to begin the combine procedure.
  1761.  
  1762.  
  1763.  
  1764. Quit
  1765.  
  1766. Choose Quit to exit WPMerger  to DOS.  To call up WPMerger from DOS enter WPM, press [ENTER] at the appropriate drive letter.
  1767.  
  1768.  
  1769.  
  1770. THE EDIT MENU
  1771.  
  1772. Available EDIT menu commands:
  1773.  
  1774. Edit Record
  1775. Add Record(s)
  1776. Find Record
  1777. Copy Record
  1778. Next Record [PgDn]
  1779. Previous Record [PgUp]
  1780. Delete Record
  1781. Record Entry Defaults
  1782. Template Modification
  1783. -Add Fields-[F3]
  1784.     -Edit Fields-[F4]
  1785.     -Copy Fields-[F5]
  1786.     -Move Fields-[F6]
  1787.     -Delete Fields-[F7]
  1788.  
  1789.  
  1790.  
  1791. Edit Record
  1792.  
  1793. Choose Edit Record to make data changes in the current onscreen record.  Note that the Edit Record command will not allow you to change template characteristics.
  1794.  
  1795.  
  1796. To edit a record:
  1797.  
  1798.     Select Edit Record in the EDIT menu.
  1799.     Edit any information in the record.
  1800.     Saving is automatic when pressing [ENTER] at end of the record.
  1801.     ( or press [F10] to save )
  1802.  
  1803.  
  1804.  
  1805. Add Record(s)
  1806.  
  1807. Choose Add Record(s) to add a new record to an existing database.  Adding a new record brings up an empty template for you to enter information to it.
  1808.  
  1809. To add a new record:
  1810.     Choose Add Record(s) in the EDIT menu.
  1811.     Enter the information for each new field, press [ENTER].
  1812.     Press [F10] to add the record and bring up another new template (or press [ENTER] at the last prompt of the new record).
  1813.     Press [ESC] to quit entering new records. 
  1814.     Saving is automatic when pressing [ENTER] while at the last window prompt. (or press [F10] to save)
  1815.  
  1816.  
  1817. Find Record
  1818.  
  1819. Choose Find Record to locate a record in the database.  WPMerger  selects the closest record based upon the input value given.
  1820.  
  1821. To find a record:
  1822.  
  1823.     Load the database that contains the record.
  1824.     Choose Find Record in the EDIT menu.
  1825.     Locate the sort field in the template that will best ensure a find.
  1826.     Enter a field value to find the closest record.
  1827.     Press [ENTER] to find the record.
  1828.  
  1829.  
  1830. Copy Record
  1831.  
  1832. Choose Copy Record to copy an existing record.  A copied record is placed after the original record in the sort.  The number of records that are displayed in the status line will reflect the added record.
  1833.  
  1834. If your database has a unique sort field, you will be forced to change the value of the unique field so that its data is unique with respect to the copied record.
  1835.  
  1836. To copy a record:
  1837.  
  1838.     Put the desired record to be copied onscreen.
  1839.     Choose Copy Record in the EDIT menu.
  1840.     Confirm the record copy prompt.
  1841.  
  1842.  
  1843. Next Record [PgDn]
  1844.  
  1845. Choose Next Record to call up the next record in the current record sort.  Pressing [PgDn]  will also call up the next record if the template consists of a single page.  If the template has multiple pages or screens, press 
  1846. [CTRL]-[PgDn] to access the next record.
  1847.  
  1848.  
  1849. Previous Record [PgUp]
  1850.  
  1851. Choose Previous Record to call up the previous record in the current record sort.  Pressing [PgUp]  will also call up the previous record if the template consists of a single page.  If the template has multiple pages or screens, press [CTRL]-[PgUp] to access the previous record.
  1852.  
  1853.  
  1854. Delete Record
  1855.  
  1856. Choose Delete Record to delete the onscreen record from the database.  The number of records that are displayed in the status line will reflect the erased record.  You can undo a deletion, if it is undone immediately after you use the Delete Record command.  Refer to the section titled Deleting Records in Chapter 3 for information about the recovery procedure.  The procedure utilizes tabbing the previous record╒s information of all the fields of the deleted record, into a new (added) record.
  1857.  
  1858. To delete a record:
  1859.  
  1860.     Place the record to be deleted onscreen.
  1861.     Choose Delete Record in the EDIT menu.
  1862.     Confirm the deletion in the delete record prompt.
  1863.  
  1864.  
  1865. Record Entry Defaults
  1866.  
  1867. Choose Record Entry Defaults to enter informational defaults for fields in the template.  Use the [ENTER] key or the vertical cursor keys to locate the field you want to enter a default.  Enter any information that may facilitate future data entry.  Press [ENTER] after the last field in the template or press [F10] to end entry and save.  Record entry defaults can also be entered in the Add Field and Edit Field windows.
  1868.  
  1869. For example, if a template contains a state field that you want to default to New York, simply enter NY into the field in the record entry defaults.
  1870.  
  1871. To enter record entry defaults:
  1872.     Choose Record Entry Defaults in the EDIT menu.
  1873.     Press [ENTER] or use the vertical cursor keys to locate the desired field.
  1874.     Enter the desired default data.
  1875.     Press [ENTER] after the last field OR press [F10] to save.
  1876.  
  1877.  
  1878. Template Modification
  1879.  
  1880. Choose Template Modification to edit a database template.  You are free to enter text anywhere but on fields in the template.
  1881.  
  1882. Template modification allows you to:
  1883.     Add fields [F3]
  1884.     Edit fields [F4]
  1885.     Copy fields [F5]
  1886.     Move fields [F6]
  1887.     Delete fields [F7]
  1888.  
  1889.  
  1890. Press the appropriate function key for the desired task.  You must select Template Modification to activate the function keys.  Refer to the following sections regarding each command used to edit the template.  Note that you must be modifying or creating a template in order to use the following commands.
  1891.  
  1892.  
  1893. Add Field
  1894.  
  1895. To add a new field to the template, choose Template Modification.  Position the cursor at the desired location, and then press [F3].  Fields are added to the template one at a time.
  1896.  
  1897.  
  1898.     To add a new field:
  1899.  
  1900.     Choose Template Modification in the EDIT menu.
  1901.     Position the cursor at the location for the added field.
  1902.     Press [F3].
  1903.     Enter the following in the Add Field window:
  1904.         field prompt
  1905.         field name
  1906.         field type
  1907.         field length
  1908.         its sortability (if desired)
  1909.         record entry default for the field (optional)
  1910.         any notes that may apply to the field
  1911.     Press [ENTER] after the last window prompt to complete the added field.
  1912.  
  1913.  
  1914. Edit Field
  1915.  
  1916. To edit an existing field, choose Template Modification.  Position the cursor at the desired field, and then press [F4].  This command allows you to change any of the field characteristics, but not the data associated with the field.
  1917.  
  1918. To edit a field:
  1919.  
  1920.     Choose Template Modification in the EDIT menu.
  1921.     Position the cursor on the field to be edited.
  1922.     Press [F4].
  1923.     Enter changes in the Edit Field window:
  1924.         field prompt
  1925.         field name
  1926.         field type
  1927.         field length
  1928.         its sortability (if desired)
  1929.         record entry default for the field (optional)
  1930.         any notes that may apply to the field
  1931.     Press [ENTER] after the last window prompt to record the changes. (or press [F10])
  1932.  
  1933.  
  1934. Copy Field
  1935.  
  1936. To copy an existing field, choose Template Modification.  Position the cursor at the desired field to be copied, and then press [F5].  Use the cursor keys to position the copied field, press [F5] again to place the field.  When a field is copied, all of the corresponding data associated with the field is also duplicated.  Note that after you have copied a field, you may want to edit the newly copied field characteristics.
  1937.  
  1938. To copy and place a copied field:
  1939.  
  1940.     Choose Template Modification in the EDIT menu.
  1941.     Position the cursor on the field to be copied.
  1942.     Press [F5].
  1943.     Use the cursor keys to position the newly copied field.
  1944.     Press [F5] again to place the field.
  1945.  
  1946.  
  1947. Move Field
  1948.  
  1949. To move a field to a different location on the database template, choose Template Modification.  Position the cursor at the desired field to move, and then press [F6].  Simply reposition the field by using the cursor keys.  Press [F6] again to place the field in its new location.  Moving a field also moves its respective field prompt.
  1950.  
  1951. To move a field:
  1952.  
  1953.     Choose Template Modification in the EDIT menu.
  1954.     Position the cursor on the field to move.
  1955.     Press [F6].
  1956.     Use the cursor keys to relocate the field.
  1957.     Press [F6], again, to place the field.
  1958.  
  1959.  
  1960. Moving Rules:
  1961.     1.    Fields can not be placed overlapping another field.
  1962.     2.    There must be at least one (1) space between fields placed on the same     line.
  1963.     3.    The field cannot extend the lateral bounds of the screen, but can be     moved vertically onto another template page.
  1964.     4.    A field cannot be placed further than one page more than what is     currently being utilized in the template.
  1965.  
  1966.  
  1967. Delete Field
  1968.  
  1969. To delete an existing field, choose the Template Modification.  Position the cursor within the bounds of the field to be deleted at the desired location, and then press [F7].  Answer the prompt appropriately to approve the field deletion.  Using the DELETE FIELD command is an undoable action and all the field data for all the records will be erased.
  1970.  
  1971. To delete a field:
  1972.  
  1973.     Choose Template Modification in the EDIT menu.
  1974.     Position the cursor on the field to be deleted.
  1975.     Press [F7].
  1976.     Confirm the deletion in the Delete Field prompt.
  1977.  
  1978.  
  1979.  
  1980. THE VIEW MENU
  1981.  
  1982. Available VIEW menu commands:
  1983.  
  1984. Sort
  1985. View
  1986.  
  1987.  
  1988. Sort
  1989.  
  1990. Choose Sort to change the order in which the records appear onscreen.  Fields are defined as sortable by selecting the Template Modification command.
  1991.  
  1992. To change the current sort:
  1993.  
  1994.     Choose Sort in the VIEW menu.
  1995.     Select the field from the list of sortable fields in the Sort window.
  1996.     Press [ENTER] for completion of the new sort.
  1997.  
  1998. Sorting Rules:
  1999.  
  2000. The sorting precedence order for..
  2001.     text and state type fields:
  2002.         1.    Blank fields
  2003.         2.    Numbers (in order from 0 to 9)
  2004.         3.    Text (alphabetically in order from A or a to Z or z)
  2005.     numeric, date, and telephone type fields:
  2006.         1.    Blank fields
  2007.         2.    Numbers (in order from 0 to 9)
  2008.  
  2009. Decimal places are considered fixed when sorting by a field that contains numbers.  It is important that numbers are zero-filled to allow for correct sorting.  Zero-filling numbers can be completed manually when entering numbers or optionally set for automatic in the OPTIONS menu by selecting the Program Options menu command.
  2010.  
  2011.  
  2012. View
  2013.  
  2014. Choose View to change the format the records to List format for viewing.  List format organizes the information in columns under the field prompts.  No editing of information is allowed in List format. Template format displays information record by record on the screen.
  2015.  
  2016. Accessing information in List Format:
  2017.  
  2018. Use the vertical cursor keys (or [PgDn] and [PgUp]) to view data vertically, from screen to screen.  
  2019. Use the lateral cursor keys to view data to the right or left of the screen.
  2020. Press [HOME] to view data from the beginning of the current sort.
  2021. Press [END] to view data from the end of the current sort.  
  2022. Press [ESC] at any time to return to the first record of the current sort in Template format.
  2023.  
  2024.  
  2025.  
  2026.  
  2027. THE SELECT MENU
  2028.  
  2029. Available SELECT menu commands:
  2030.  
  2031. Multiple
  2032. Single
  2033. Filter
  2034. Combination
  2035. CallWP
  2036.  
  2037.  
  2038. Multiple Record Selection
  2039.  
  2040. Choose Multiple to select a block of records to be placed in a merge data file.  Give bounds for the multiple record selection in the 'from... to...' prompt.  Bounds for a multiple selection are chosen according to the current sort field.
  2041.  
  2042. An example:  Selecting a multiple record bounds from 1/1/88 to 1/1/88 by a sortable field 'Invoice Date' will select all the records invoiced on that day.  In another example of records sorted by last name, a record bounds given  from Bor to Di will place all the records inclusive from Bor... to Di... in a merge data file.
  2043.  
  2044. The primary sort is the sort that has been defined by using the Sort command in the VIEW menu.  The secondary sort specifies the order of the records in the merge data file (which have been selected by the primary sort).  Therefore, the printing order can be accomplished by using a secondary sort.  If you would like to use a secondary sort, specify it by selecting one of the sortable fields in the prompt box.  The default secondary sort is the SAME field as the primary sort.
  2045.  
  2046. To select  and merge multiple records:
  2047.  
  2048.     Choose Multiple in the SELECT menu.
  2049.     Select the records to be selected according to the current sort field (from... and to...).
  2050.     Select the merge data file document.
  2051.     Change the merge data file name if needed.
  2052.     Press [ENTER] to complete the multiple record selection.
  2053.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  2054.  
  2055.  
  2056. Single Record Selection
  2057.  
  2058. Choose Single to select only one record (or only one at a time).  Be sure to have the record to be selected onscreen before the record is selected.
  2059.  
  2060. To select  and merge a single record:
  2061.  
  2062.     Place onscreen the desired record to be selected.
  2063.     Choose Single in the SELECT menu.
  2064.     Tag the record for selection by selecting Select Onscreen Record.
  2065.     Select the appropriate commands to complete the desired selection.
  2066.     Select Finish Record Selection Process when finished selecting single records.
  2067.     Change the merge data file name if applicable.
  2068.     Press Y to call your word processor to execute a merge or press N to continue working in WPMerger.
  2069.  
  2070.  
  2071. Single Selection Commands:
  2072.  
  2073.  
  2074. Select Onscreen Record
  2075.  
  2076. Choosing Select Onscreen Record tags the current onscreen record to be placed in a merge data file.  Use this command each time you find a record that you want to place in the merge data file, i.e.  a merge data file that has been created by using the Single command can have more than one record.
  2077.  
  2078.  
  2079. Finish Record Selection Process
  2080.  
  2081. Select Finish Record Selection Process when you have finished the record selection process.
  2082.  
  2083.  
  2084. Edit Currently Displayed Record
  2085.  
  2086. Select Edit Currently Displayed Record  to temporarily edit the information on the onscreen record before  selecting the record.  Any editing by using this command is not saved.  This feature is valuable in personalizing the data.  An example:  Editing a field named First Name from Albert to Al in order to personalize the salutation to your friend, Al.
  2087.  
  2088.  
  2089. Find a Record
  2090.  
  2091. The Find a Record command functions just like the Find Record command in the EDIT menu.  This command has been placed in this window for your convenience.
  2092.  
  2093.  
  2094. Next Record Retrieval and Previous Record Retrieval
  2095.  
  2096. These commands call up the next or previous record in the current sort.
  2097.  
  2098. Record selections are summarized in a Record Selection Summary window.  The window shows the number of records selected, the ability to name or rename the merge data file, anda prompt to allow the user to call your word processor.
  2099.  
  2100.  
  2101. Number of Records Selected
  2102.  
  2103. The number displayed after this prompt represents all the records that matched the selection criteria.  If this number seems inaccurate, the selection criteria may not have been as precise as desired.
  2104.  
  2105.  
  2106. Naming Merge Data Files
  2107.  
  2108. After you have selected records for merging, WPMerger  will automatically give the new merge data file the default merge data file name that you have selected in the current user configuration.  If the merge data file currently exists, WPMerger will ask you if you would like to overwrite the file.  If you want to overwrite the file, press Y, if you want to change the name, press N and type over the name in the prompt box.
  2109.  
  2110.  
  2111. Call Your Word Processor
  2112.  
  2113. If you wish to call your word processor to complete the merging process enter a Y after this prompt.  Enter an N to remain in WPMerger .  This prompt is essentially the same as the CallWP command in the SELECT menu.
  2114.  
  2115.  
  2116. Choose Combination to select a combination of single record(s) and/or a combination of multiple record(s) to be placed in a merge data file.  Records are selected by using the Single and Multiple record selections over and over again in a combining fashion until all of the desired records have been selected.
  2117.  
  2118.  
  2119. To select and merge a combination of records:
  2120.  
  2121.     Choose Combination in the SELECT menu.
  2122.     Select Multiple or Single in the prompt box.
  2123.     Follow the instructions in the previous sections about single and multiple record selection.
  2124.     Select Y in the More Records prompt if more selections are desired.
  2125.     Repeat the procedure until all desired records have been placed in the merge data file.
  2126.      Select N in the More Records prompt when record selection is complete.
  2127.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  2128.  
  2129.  
  2130. Filter
  2131.  
  2132. Choose Filter to select records that have certain data in common.  The filter uses an "and" logic so that records will be selected that have all of the specified data given by the selection criteria.
  2133.  
  2134. To use the selection filter:
  2135.  
  2136.     Choose Filter in the SELECT menu.
  2137.     Press [Tab] or [Enter] to locate the desired fields.
  2138.     Enter data or partial data in the fields to complete the desired record selection.
  2139.     Press [F10] when finished entering the selection criteria (or press [Enter] after the last field) to begin the selection process. 
  2140.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  2141.  
  2142.  
  2143. Combination Record Selection
  2144.  
  2145. Choose Combination to select a combination of single record(s) and/or a combination of multiple record(s) to be placed in a merge data file.  Records are selected by using the Single and Multiple record selections over and over again in a combining fashion until all of the desired records have been selected.
  2146.  
  2147. To select and merge a combination of records:
  2148.  
  2149.     Choose Combination in the SELECT menu.
  2150.     Select Multiple or Single in the prompt box.
  2151.     Follow the instructions in the previous sections about single and multiple record selection.
  2152.     Select Y in the More Records prompt if more selections are desired.
  2153.     Repeat the procedure until all desired records have been placed in the merge data file.
  2154.      Select N in the More Records prompt when record selection is complete.
  2155.     Select Y in the CallWP prompt to call a merge document to merge with the newly created merge data file.
  2156.  
  2157.  
  2158. CallWP
  2159.  
  2160. Choose CallWP to call a word processor merge at any time.  After choosing CallWP and selecting the merge document, the word processor defined in the current configuration is called.  To access merge documents with other file extensions, select a different user configuration or change the document selection field in the currently selected user configuration.  If no document selection is desired when calling your word processor turn the option off in Program Options (Options menu).
  2161.  
  2162. To call your word processor:
  2163.     Choose CallWP in the SELECT menu.
  2164.     If necessary, press [F2] to change the current configuration for a different document selection.
  2165.     Use the cursor keys to select a word processor merge document, press [ENTER].
  2166.     To obtain a different document selection change the user configuration or change the document selection in the current user configuration.
  2167.  
  2168.  
  2169.  
  2170.  
  2171. THE UTILITIES MENU
  2172.  
  2173. Available UTILITIES menu commands:
  2174.  
  2175. Shell to DOS
  2176. Index Generation
  2177. Database Reconstruction
  2178. Backup Database
  2179. Restore Database
  2180.  
  2181.  
  2182. Shell to DOS
  2183.  
  2184. The Shell to DOS command allows you to temporarily exit from WPMerger  to another program, utility, or directly to the DOS command processor.  When finished with the program or utility, you are placed back in WPMerger .  The two ways to access DOS are by selecting Run a Program or Utility or by selecting DOS Command Processor.
  2185.  
  2186.  
  2187. Run a Program or Utility
  2188.  
  2189. Selecting Run a Program or Utility allows you to execute a single DOS command.  Enter exit to return to WPMerger 
  2190.  
  2191. To shell with Run a Program or Utility:
  2192.     Choose Shell to DOS in the UTILITIES menu.
  2193.     Select Run a Program or Utility and enter a single DOS command.
  2194.     When the command is finished, enter exit to return to WPMerger .
  2195.  
  2196.  
  2197. DOS Command Processor
  2198.  
  2199. Selecting DOS Command Processor transfers you directly to DOS.  Once in DOS you may execute as many commands as you want.  When finished in DOS enter exit to return to WPMerger 
  2200.  
  2201. To shell with DOS Command Processor:
  2202.     Choose Shell To DOS in the UTILITIES menu.
  2203.     Select DOS Command Processor to shell directly to DOS.
  2204.     Enter Exit when finished working in DOS to transfer back to WPMerger.
  2205.     Enter any key to return to WPMerger.
  2206.  
  2207.  
  2208. Index Generation
  2209.  
  2210. The index facility is used to reconstruct the sort (index) system of a database.
  2211.  
  2212. To generate indexes:
  2213.     Choose Index Generation in the UTILITIES menu.
  2214.  
  2215.  
  2216. Use the Index Generation command when:
  2217.     You have prematurely stopped index generation after updating a database.
  2218.     You are able to load a database but are unable to access any of its records.
  2219.     All of the records of a database do not seem to be present (or selectable).
  2220.  
  2221.  
  2222. Database Reconstruction
  2223.  
  2224. The Database Reconstruction command is used when it appears there is some problem loading a database or retrieving records from a database.  This command goes through the selected database╒s data and discards records that appear damaged or not needed.
  2225.  
  2226. To reconstruct a database:
  2227.  
  2228.     Choose Database Reconstruction in the UTILITIES menu.
  2229.  
  2230.  
  2231. Backup Database
  2232.  
  2233. Choose Backup Database to make a backup copy of an existing database, usually onto floppy diskettes.   Set the drive letter for a backup by selecting the Program Options menu command in the OPTIONS menu.  The backup database name remains the same as the active database.  Refer to Appendix A for specifics about backup file name extensions.
  2234.  
  2235. To backup a database:
  2236.     Change the drive letter, if desired, in Program Options (in the OPTIONS menu).
  2237.     Choose Backup Database in the UTILITIES menu.
  2238.     Select the desired database for backup in the Backup Database window.
  2239.     Press [ENTER] to begin the backup procedure.
  2240.     You will be prompted to insert multiple diskettes, if necessary.
  2241.  
  2242.  
  2243. Restore Database
  2244.  
  2245. Choose Restore Database to restore a database backup copy.  If a database exists (in the selected configuration) with the same name as the database to be restored, the database to be restored is copied on top of the existing database.
  2246.  
  2247. To restore a database:
  2248.  
  2249.     Choose Restore Database in the UTILITIES menu.
  2250.     Select the desired database to be restored in the Restore Database window.
  2251.     Press [ENTER] to begin the restore procedure.
  2252.     You will be prompted to insert multiple diskettes, if necessary.
  2253.  
  2254.  
  2255.  
  2256.  
  2257. THE OPTIONS MENU
  2258.  
  2259. Available OPTIONS menu commands:
  2260.  
  2261. User Configurations
  2262. Program Options
  2263. Video Selection
  2264.  
  2265.  
  2266. User Configurations
  2267.  
  2268. Choose User Configurations to select, edit, delete an existing configuration, or to add a new one.  The process of selecting and deleting a configuration is given is the following two paragraphs.  The procedures for editing an existing configuration and adding a new configuration are given in the box below.
  2269. Refer to the section titled Setting User Configurations in Chapter 4 for information about the various configuration components.
  2270.  
  2271. To select a currently existing user configuration, simply choose Select in the prompt box.  Use the cursor keys to choose the desired user configuration, and press [ENTER].  While at any database or document selection window (like renaming or copying a database or selecting a document for merging) the current user configuration can be changed by pressing [F2].  The current configuration can be changed at any window that has '[F2]' displayed in the lower line of the window.
  2272.  
  2273. To delete an existing user configuration, select Delete in the prompt box, and then confirm the deletion by pressing Y.
  2274.  
  2275. To edit or add a user configuration:
  2276.     Choose User Configurations in the OPTIONS menu.
  2277.     Use the vertical cursor keys to select either Edit or Add in the prompt box, press [ENTER].
  2278.     Enter or edit data in the window prompts.
  2279.     Press [F10] when finished or press [ENTER] after the last prompt in the window.
  2280.  
  2281.  
  2282. Program Options
  2283.  
  2284. Choose Program Options to set the various user-definable program options.
  2285.  
  2286. To change the program options:
  2287.  
  2288.     Choose Program Options in the OPTIONS menu.
  2289.     Use the vertical cursor keys or press the [ENTER] key to locate the desired prompt.
  2290.     Enter the appropriate information after each prompt.
  2291.     Press [F10] when finished or press [ENTER] after the last prompt in the window.
  2292.  
  2293.  
  2294. Video Selection
  2295.  
  2296. Choose Video Selection to change the video output.
  2297.  
  2298. To change the video selection:
  2299.  
  2300.     Choose Video Selection in the OPTIONS menu.
  2301.     Use the vertical cursor keys to select the type of monitor in your system, press [ENTER].
  2302.     If color is chosen, a color palette window is displayed.  Select a palette by using the vertical cursor keys and pressing [ENTER].  Press [ESC] when the desired palette is selected.
  2303.  
  2304. Available Video Selections:
  2305.     Default display mode (display before starting WPMerger )
  2306.     Monochrome
  2307.     Color (standard CGA, EGA, or VGA)
  2308.         -Choose a color palette from the eight available color palettes
  2309.     Enhanced color mode (EGA-43 line)
  2310.     Enhanced color mode (VGA-50 line)
  2311.     LCD (laptop)
  2312.  
  2313. If the selection 'Color' is selected, choose a color palette from the Color Palette prompt box by using the vertical cursor keys, press [ENTER].  Once a selection has been made the screen is re-painted with the newly selected colors.  Simply select another palette by repeating the selection procedure.  Press [ESC] when you are satisfied with the currently selected palette (and its colors are onscreen).
  2314.  
  2315. Color Palette Descriptors:
  2316.     
  2317.     First color represents the background screen color
  2318.     Second color represents the template color
  2319.     Third color represents the data color
  2320.  
  2321.  
  2322.  
  2323.  
  2324. Appendix A
  2325.  
  2326. Hardware Requirements
  2327.  
  2328.  
  2329. The WPMerger v. 1.5 package contains either one 720K 3.5 inch or one 5.25 inch floppy diskette.  The following lists the files that are copied into the three directories which are created during the installation procedure.
  2330.  
  2331.     The program diskette(s) contain the following program files which are copied to a directory named ╥\WPM╙.
  2332.         WPM.BAT  (copied with installations only, not updates)
  2333.         WPM.EXE
  2334.         WPMPROG.EXE
  2335.         WPM.OVR
  2336.         WPM.TXT
  2337.         WPM.INF
  2338.         WPM.HLP
  2339.         README  (installation notes)
  2340.         WPM.DFT  (install procedure creates this file)
  2341.  
  2342. The program diskette(s) contain two sample databases with records which are copied to a created directory named '\WPM\DATA'.
  2343.         OFFICE.TPL
  2344.         ADDRESS.TPL
  2345.     
  2346.     The program diskette(s) contains two sample documents which are compatible with the database Office and are copied to a created directory named '\WPM\DOCUMENT'.
  2347.         SAMPLLTR.WP5 (for WordPerfect > 5.0)
  2348.         SAMPLLTR.WP4 (for WordPerfect, Pre-5.0 version)
  2349.         SAMPLLTR.DOC (for Word)
  2350.         SAMPLLTR.SPR (for Sprint)
  2351.         SAMPLLTR.PW2 (SPC Professional Write 2.0)
  2352.         SAMPLLTR.WS   (MicroPro WordStar)
  2353.         SAMPLLTR.ED   (PC-Write)
  2354.  
  2355.  
  2356. WPMerger File Structure
  2357.  
  2358. There are three types of data files which are created by WPMerger  and are named as follows.
  2359.     .TPL    (given to database templates)
  2360.     .DAT    (given to database data files)
  2361.     .IXn    (given to index files, n = a number from 0-9)
  2362.  
  2363. The backup data file extensions are named as follows.
  2364.     .TPn      (given to backup template files, n = 0-9)
  2365.     .DAn      (given to backup database data files, n = 0-9)
  2366.     .Inn      (given to backup index files, first n is the index number as above and the second n = 0-9)
  2367.  
  2368.  
  2369. System Requirements
  2370.  
  2371.     IBM PC or compatible or IBM PS/2 or compatible
  2372.     DOS 2.0 or later version
  2373.     Hard disk or single 720 floppy drive
  2374.     350K disk space
  2375.     384K RAM
  2376.     Monochrome, LCD, CGA, EGA, VGA adaptor, enhanced 
  2377.     color (43/50 line)
  2378.  
  2379.  
  2380.  
  2381.  
  2382. Appendix B
  2383.  
  2384. Function Keys and Keyboard Commands
  2385.  
  2386. Listing of Function Key Commands
  2387.  
  2388.     Key    Function
  2389.     
  2390.     F1    Help    
  2391.     F2    Change the current user configuration at a selection window
  2392.     F3    Add field
  2393.     F4    Edit field
  2394.     F5    Copy field
  2395.     F6    Move field
  2396.     F7    Delete field
  2397.     F8    Delete field from cursor position to end of field
  2398.     F9    Delete entire field data
  2399.     F10    End input and...
  2400.             Save when adding or editing a record
  2401.             Complete procedure when at a window or prompt box
  2402.  
  2403.  
  2404.  
  2405.  
  2406. Appendix C
  2407.  
  2408. Using WPMerger with Other Programs
  2409.  
  2410.  
  2411. Supportable Word Processor Programs
  2412.     WordPerfect
  2413.     Word
  2414.     Word for Windows
  2415.     WordStar
  2416.     Sprint
  2417.     PFS Professional Write
  2418.     PC-Write
  2419.  
  2420. Supportable Database Programs (Import/Export)
  2421.  
  2422.     dBASE
  2423.     ASCII (quote-comma delimited)
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432. Appendix D
  2433.  
  2434. Capacities:
  2435.     Databases    Infinite, depending of disk space
  2436.     Records    Over 2 billion per database
  2437.     Fields    256
  2438.     Data Record Length    4K (4096 bytes)
  2439.     Sort Fields    10
  2440.     Unique sortable fields    10
  2441.     User Configurations    6
  2442.     Screens per Record    8 pages (160 lines)
  2443.     Color Palettes    8
  2444.  
  2445.  
  2446. Appendix E
  2447.  
  2448. Error Messages
  2449.  
  2450.  
  2451. The following is a list of DOS error numbers and their respective messages as reported by WPMerger .
  2452.  
  2453.     #    DOS Error Message
  2454.     2    File not found
  2455.     3    Path not found
  2456.     4    Too many open files
  2457.     5    File access denied
  2458.     6    Invalid file handle
  2459.     12    Invalid file access code
  2460.     15    Invalid drive number
  2461.     16    Cannot remove current directory
  2462.     17    Cannot rename across drives
  2463.     100    Disk read error
  2464.     101    Disk write error
  2465.     102    File not assigned
  2466.     103    File not open
  2467.     104    File not open for input
  2468.     105    File not open for output
  2469.     106    Invalid numeric format
  2470.     150    Disk is write protected
  2471.     151    Unknown unit
  2472.     152    Drive not ready
  2473.     153    Unknown command
  2474.     154    CRC error in data
  2475.     155    Bad drive request structure length
  2476.     156    Disk seek error
  2477.     157    Unknown media type
  2478.     158    Sector not found
  2479.     159    Printer out of paper
  2480.     160    Device write fault
  2481.     161    Device read fault
  2482.     162    Hardware failure
  2483.     202    Stack overflow
  2484.     203    Heap overflow error
  2485.  
  2486.